/* /assets/css/main.css - Fixed Design (Refined Global Styling & Vibrancy) */

/* General Body and HTML structure */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    background: linear-gradient(120deg, #f1f8e9 0%, #fffde7 100%);
    background-size: 200% 200%;
    animation: bg-move 8s ease-in-out infinite;
    color: #2e3d27;
}

@keyframes bg-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main content area flexibility */
main {
    flex: 1;
}

/* Container for page content, centralizes content */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* --- Base Component Styles (Colorful Design) --- */

/* Primary Card Container - for main content blocks (e.g., dashboard, profile main) */
.primary-card-container, .bg-white, .rounded-xl, .rounded-3xl {
    /*background-color: #f8fff4 !important;*/
    border-top: 0px solid #43a047 !important;
}

/* Sub-cards - for sections within main cards (e.g., profile info, daily data entry) */
.sub-card {
    background-color: #e0f7fa; /* Lighter, more vibrant blue for sub-cards */
    border: 1px solid #b2ebf2; /* Soft border */
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.08); /* Medium shadow */
    padding: 1.5rem; /* p-6 */
    color: #2c3e50; /* Dark text */
    transition: all 0.2s ease-in-out;
}
.sub-card:hover {
    box-shadow: 0 8px 15px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -4px rgba(0, 0, 0, 0.1); /* Enhanced hover shadow */
    transform: translateY(-3px); /* Slightly more pronounced hover */
}

/* Primary text */
.text-primary {
    color: #2c3e50; /* Dark blue-gray */
}
/* Secondary/muted text */
.text-secondary {
    color: #7f8c8d; /* Gray */
}

/* Generic links - No underline by default */
a {
    color: #3498db; /* Peter River blue */
    text-decoration: none; /* No underline */
    transition: color 0.2s ease;
}
a:hover {
    color: #0ace0a; /* Darker Peter River blue */
    text-decoration: none; /* Still no underline on hover */
}

/* Generic buttons (primary style) */
.button-primary {
    background-color: #43a047;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none; /* No underline */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.button-primary:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Secondary button style (e.g., for Cancel, Change Password) */
.button-secondary {
    background-color: #cddc39;
    color: #2e3d27;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none; /* No underline */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.button-secondary:hover {
    background-color: #aed581;
    color: #2e3d27;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Danger button style (e.g., for Delete actions) */
.button-danger {
    background-color: #e57373;
    color: #fff;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none; /* No underline */
}
.button-danger:hover {
    background-color: #c62828;
}

/* Accent button style (e.g., for Save Theme) */
.button-accent {
    background-color: #8bc34a;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none; /* No underline */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.button-accent:hover {
    background-color: #689f38;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* --- NAVIGATION BAR --- */
header {
    position: relative;
    z-index: 50;
}

nav {
    position: relative;
}

.site-logo {
    width: 3.5rem;
    height: 3.5rem;
}

/* Mobile Menu Styles */
#mobile-menu-btn {
    display: none;
}

#main-nav {
    z-index: 40;
}

#main-nav-inner {
    z-index: 41;
}

/* Blog Dropdown Styles */
#blog-dropdown {
    position: relative;
}

#blog-menu {
    z-index: 42;
}

#blog-dropdown button i {
    transition: transform 0.2s ease;
}

#blog-dropdown button:focus i {
    transform: rotate(180deg);
}

/* Notifications Dropdown */
#notifications-menu {
    z-index: 42;
}

#notifications-menu::-webkit-scrollbar {
    width: 6px;
}

#notifications-menu::-webkit-scrollbar-track {
    background: #f3f4f6;
}

#notifications-menu::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 3px;
}

/* Admin Navigation */
.admin-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4ade80 #065f46;
}

.admin-nav::-webkit-scrollbar {
    height: 6px;
}

.admin-nav::-webkit-scrollbar-track {
    background: #065f46;
}

.admin-nav::-webkit-scrollbar-thumb {
    background: #4ade80;
    border-radius: 3px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    #mobile-menu-btn {
        display: block;
    }

    #main-nav {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #main-nav-inner {
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    #main-nav:not(.hidden) #main-nav-inner {
        transform: translateX(0);
    }

    #blog-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        background-color: #f3f4f6 !important;
    }

    #notifications-menu {
        position: fixed !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        max-width: 24rem !important;
        margin: 1rem auto !important;
    }
}


/* --- DASHBOARD SPECIFIC --- */

/* Dashboard Quick Action Cards */
.dashboard-quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 0.75rem; /* Slightly more rounded */
    box-shadow: 0 6px 12px -3px rgba(0, 0, 0, 0.12), 0 3px 6px -3px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: #ffffff; /* White text for quick action cards */
    text-decoration: none; /* No underline */
    background-image: linear-gradient(to bottom right, var(--card-gradient-start), var(--card-gradient-end)); /* New gradient variable for cards */
}
.dashboard-quick-action-card:hover {
    box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.15), 0 6px 10px -4px rgba(0, 0, 0, 0.1); /* More pronounced hover shadow */
    transform: translateY(-0.35rem); /* More pronounced hover lift */
}
.dashboard-quick-action-card span {
    color: #ffffff; /* White text */
}


/* Dashboard Capacity Section Gradient Block */
.dashboard-capacity-gradient-block {
    background: linear-gradient(to right, #27ae60, #3498db); /* Emerald to Peter River blue */
    color: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem; /* More rounded */
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2); /* Deeper shadow */
    border-top: 5px solid rgba(255, 255, 255, 0.5); /* Subtle white top border for depth */
}
.dashboard-capacity-text-inverted {
    color: #ffffff;
}
.dashboard-capacity-text-inverted-primary { /* For "Admin" tier text */
    color: #ffffff;
}
.dashboard-capacity-text-inverted-secondary { /* For "You are on the..." */
    color: #ecf0f1;
}

/* Dashboard Capacity Cards (inside gradient) */
.dashboard-capacity-card {
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.25); /* More visible semi-transparent white */
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    color: #ffffff;
    backdrop-filter: blur(5px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(5px);
}
.dashboard-capacity-card h3 {
    color: #ffffff;
}
.dashboard-capacity-card p {
    color: #ffffff;
}


/* Dashboard Admin Button */
.dashboard-admin-button {
    background-color: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
    text-decoration: none;
}
.dashboard-admin-button:hover {
    background-color: #c0392b;
    transform: translateY(-0.125rem);
}


/* --- PROFILE PAGE SPECIFIC --- */

/* Profile Theme Selector Labels (for radio button blocks) */
.profile-theme-selector-label {
    background-color: #ffffff;
    border: 1px solid #bdc3c7;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.profile-theme-selector-label:hover {
    background-color: #ecf0f1;
}
.profile-theme-selector-active {
    border-color: #9b59b6;
    box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.3);
    background-color: #f5eef9;
}
.profile-theme-selector-active span {
    color: #8e44ad;
}
.profile-theme-selector-inactive {
    background-color: #ffffff;
    border-color: #bdc3c7;
}
.profile-theme-selector-inactive:hover {
    background-color: #ecf0f1;
}

/* Color swatches in theme selector */
.color-swatch-border {
    border-color: #bdc3c7;
}


/* --- WEEK VIEW SPECIFIC --- */

/* Week View Navigation Buttons */
.week-nav-button {
    background-color: #bdc3c7;
    color: #2c3e50;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.week-nav-button:hover {
    background-color: #95a5a6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.week-nav-button.opacity-50.cursor-not-allowed {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Week View Recommendations Gradient Block */
.week-rec-gradient-block {
    background: linear-gradient(to right, #1abc9c, #3498db);
    color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.week-rec-card { /* Individual recommendation cards within gradient */
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.week-rec-card h3 {
    color: #ffffff;
}
.week-rec-card p {
    color: #ffffff;
}
.week-rec-text-secondary-inverted { /* For smaller text in rec cards */
    color: #ecf0f1;
}

/* Daily Data Entry Cards */
.daily-data-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #9b59b6;
    padding: 1.5rem;
    color: #2c3e50;
}
.daily-data-card h3 {
    color: #2c3e50;
}
.daily-data-card label {
    color: #7f8c8d;
}
.daily-data-card textarea, .daily-data-card input {
    border-color: #bdc3c7;
    background-color: #ffffff;
    color: #2c3e50;
}
.daily-data-card textarea:focus, .daily-data-card input:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.2);
}


/* --- GROW ROOMS SPECIFIC --- */

.grow-room-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    padding: 1.5rem;
    color: #2c3e50;
    transition: all 0.2s ease-in-out;
}
.grow-room-card:hover {
    box-shadow: 0 8px 15px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.grow-room-card h3 {
    color: #2c3e50;
}
.grow-room-card p {
    color: #7f8c8d;
}
.grow-room-card .button-accent {
    background-color: #9b59b6;
}
.grow-room-card .button-accent:hover {
    background-color: #8e44ad;
}
.grow-room-card .button-danger {
    background-color: #e74c3c;
}
.grow-room-card .button-danger:hover {
    background-color: #c0392b;
}


/* --- UPGRADES PAGE SPECIFIC --- */

.upgrades-current-capacity-block {
    background-color: #ecf0f1;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    color: #2c3e50;
}
.upgrades-tier-card {
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}
.upgrades-tier-card-active {
    border: 4px solid #2ecc71;
}
.upgrades-tier-card h3 {
    color: #ffffff;
}
.upgrades-tier-card p {
    color: #bdc3c7;
}
.upgrades-tier-card ul {
    color: #bdc3c7;
}
.upgrades-tier-card .button-primary {
    background-color: #3498db;
}
.upgrades-tier-card .button-primary:hover {
    background-color: #2980b9;
}
.upgrades-tier-card .button-disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.upgrades-individual-card {
    background-color: #ffffff;
    color: #2c3e50;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}
.upgrades-individual-card h3 {
    color: #2c3e50;
}
.upgrades-individual-card p {
    color: #7f8c8d;
}
.upgrades-individual-card ul {
    color: #7f8c8d;
}
.upgrades-individual-card .button-primary {
    background-color: #3498db;
}
.upgrades-individual-card .button-primary:hover {
    background-color: #2980b9;
}


/* --- GENERIC FORM INPUT STYLING --- */
.form-input {
    width: 100%;
    border: 1px solid #c8d8e3; /* Softer border color */
    background-color: #ffffff;
    color: #2c3e50;
    border-radius: 0.375rem; /* rounded-md, slightly less rounded */
    padding: 0.75rem 1rem; /* More padding, py-3 px-4 */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06); /* Subtle inner shadow */
}
.form-input:focus {
    outline: none;
    border-color: #3498db; /* Peter River blue */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3); /* Accent color ring */
}

/* Message Area (for Stripe messages etc.) */
#upgrades-message-area {
    margin-bottom: 1.5rem;
}

/* Modal specific styling (from previous review) */
.modal {
    background-color: rgba(0, 0, 0, 0.75); /* Dark overlay */
}

.modal-content {
    background-color: #ffffff; /* White background for modal body */
    color: #2c3e50; /* Dark text */
    border-radius: 1rem; /* rounded-xl */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow */
    padding: 2rem; /* p-8 */
    position: relative;
}

.modal-content .text-gray-600 { /* Close button color */
    color: #7f8c8d;
}
.modal-content .hover\:text-gray-900:hover { /* Close button hover */
    color: #2c3e50;
}

/* --- Article Page Outstanding Styles --- */

/* This targets an element with BOTH .article and .bg-gray-50 classes */
.article.bg-gray-50 {
    background: linear-gradient(135deg, #f1f8e9 60%, #e8f5e9 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(67, 160, 71, 0.10), 0 1.5px 6px 0 rgba(67, 160, 71, 0.08);
    padding: 2.5rem 2rem;
    margin: 0 auto;
    max-width: 3xl; /* Note: '3xl' should be defined in your config (e.g., Tailwind) or replaced with a pixel/rem value */
    transition: box-shadow 0.2s;
}

.article.bg-gray-50:hover {
    box-shadow: 0 16px 48px 0 rgba(67, 160, 71, 0.18), 0 3px 12px 0 rgba(67, 160, 71, 0.12);
}

/* --- Typography within the article --- */

.article.bg-gray-50 h1, 
.article.bg-gray-50 h2, 
.article.bg-gray-50 h3, 
.article.bg-gray-50 h4 {
    color: #388e3c;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.article.bg-gray-50 h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

.article.bg-gray-50 h2 {
    font-size: 2rem;
}

.article.bg-gray-50 h3 {
    font-size: 1.5rem;
}

.article.bg-gray-50 h4 {
    font-size: 1.2rem;
}

.article.bg-gray-50 p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.2rem;
}

/* --- Lists within the article --- */

.article.bg-gray-50 ul, 
.article.bg-gray-50 ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}

.article.bg-gray-50 ul li, 
.article.bg-gray-50 ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
}

.article.bg-gray-50 ul {
    list-style-type: disc;
}

.article.bg-gray-50 ol {
    list-style-type: decimal;
}

/* --- Other elements within the article --- */

.article.bg-gray-50 img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(60, 72, 100, 0.10);
}

.article.bg-gray-50 blockquote {
    border-left: 4px solid #4a90e2;
    background: #f0f4fa;
    color: #34495e;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    border-radius: 0.5rem;
}

.article.bg-gray-50 code {
    background: #e0e7ef;
    color: #c7254e;
    padding: 0.2em 0.4em;
    border-radius: 0.3em;
    font-size: 0.98em;
}

.article.bg-gray-50 hr {
    border: none;
    border-top: 2px dashed #b2becd;
    margin: 2rem 0;
}
.article .icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.article .icon-list .fa-solid {
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: #10B981; /* Tailwind green-500 */
}

/* --- UPGRADED SECTION STYLES (Scoped to .article) --- */
.article .upgrade-section {
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    color: white;
    border-radius: 1rem; /* more rounded */
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}
.article .upgrade-section h2 {
    color: white;
    font-weight: 800;
    border: none;
}
.article .upgrade-section h3 {
    color: white;
    font-weight: 700;
}
.article .upgrade-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.article .upgrade-section .feature-list li {
    align-items: center;
}
.article .upgrade-section .feature-list .fa-solid {
    color: #FBBF24; /* amber-400 */
}
.article .upgrade-button {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.article .upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
/* --- Vibrant Custom Touches & Modern UI Enhancements --- */
.bg-gradient-to-br{
    background-color:transparent !important;
}
/* Callout boxes for articles and info */
.callout {
    border-left: 6px solid #43a047;
    background: #e8f5e9;
    padding: 1.2rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(74,144,226,0.07);
    position: relative;
    color: #2e3d27;
}
.callout.info { border-color: #43a047; background: #e8f5e9; }
.callout.success { border-color: #388e3c; background: #c8e6c9; }
.callout.warning { border-color: #fbc02d; background: #fffde7; }
.callout.danger { border-color: #c62828; background: #ffebee; }
.callout::before {
    content: 'ℹ️';
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.3em;
}
.callout.success::before { content: '✅'; }
.callout.warning::before { content: '⚠️'; }
.callout.danger::before { content: '⛔'; }

/* Stylish tables */
table.stylish-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(60,72,100,0.08);
}
table.stylish-table th, table.stylish-table td {
    padding: 1rem 1.2rem;
    text-align: left;
}
table.stylish-table th {
    background: #e8f5e9;
    color: #43a047;
    font-weight: 700;
    border-bottom: 2px solid #e0e7ef;
}
table.stylish-table tr:nth-child(even) {
    background: #f1f8e9;
}
table.stylish-table tr:hover {
    background: #c8e6c9;
}

/* Category/Tag badges */
.badge {
    display: inline-block;
    padding: 0.3em 0.9em;
    font-size: 0.95em;
    font-weight: 600;
    border-radius: 999px;
    background: #e8f5e9;
    color: #43a047;
    margin-right: 0.5em;
    margin-bottom: 0.2em;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 3px rgba(74,144,226,0.07);
    transition: background 0.2s, color 0.2s;
}
.badge.success { background: #c8e6c9; color: #388e3c; }
.badge.warning { background: #fffde7; color: #fbc02d; }
.badge.danger { background: #ffebee; color: #c62828; }

/* Animated card hover effect */
.card-animate {
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.08);
}
.card-animate:hover {
    transform: translateY(-6px) scale(1.025) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(67, 160, 71, 0.13);
    z-index: 2;
}

/* Animated button effect */
.button-primary, .button-secondary, .button-accent {
    position: relative;
    overflow: hidden;
}
.button-primary::after, .button-secondary::after, .button-accent::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(74,144,226,0.15);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(.4,2,.6,1), height 0.4s cubic-bezier(.4,2,.6,1);
    z-index: 0;
}
.button-primary:active::after, .button-secondary:active::after, .button-accent:active::after {
    width: 200%;
    height: 200%;
}
.button-primary span, .button-secondary span, .button-accent span {
    position: relative;
    z-index: 1;
}

/* Custom scrollbar for premium feel */
body::-webkit-scrollbar {
    width: 12px;
    background: #e0e7ef;
}
body::-webkit-scrollbar-thumb {
    background: #aed581;
    border-radius: 6px;
}
body::-webkit-scrollbar-thumb:hover {
    background: #43a047;
}

/* Glowing focus for search/input */
input[type="search"], input[type="text"], textarea {
    outline: none;
    border: 1.5px solid #e0e7ef;
    transition: border 0.2s, box-shadow 0.2s;
}
input[type="search"]:focus, input[type="text"]:focus, textarea:focus {
    border: 1.5px solid #4a90e2;
    box-shadow: 0 0 0 2px #4a90e2aa;
}
