/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --primary-dark: #1b4332;
    --secondary: #95d5b2;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text: #212529;
    --text-light: #6c757d;
    --border: #dee2e6;
    --success: #52b788;
    --warning: #f4a261;
    --error: #e76f51;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: var(--surface);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.header-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.points {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Container */
.container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 3rem 2rem 3rem;
    position: relative;
    min-height: 80vh;
}

/* Book Rain Effect */
.book-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.book {
    position: absolute;
    top: -50px;
    font-size: 24px;
    opacity: 0.15;
    animation: fall linear infinite;
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

@keyframes fall {
    0% { 
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    90% {
        opacity: 0.12;
    }
    100% { 
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Navbar - Clean Modern Design */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Brand/Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.brand-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: -0.02em;
}

/* User Section */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
    justify-content: flex-end;
}

/* Navigation Buttons */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.nav-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.nav-btn-farm {
    border-color: #d1fae5;
    background: #f0fdf4;
}

.nav-btn-farm:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.nav-btn-premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    display: none; /* Hidden by default, shown via JS */
}

.nav-btn-premium:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-btn-login {
    background: #16a34a;
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

.nav-btn-login:hover {
    background: #15803d;
}

.nav-icon {
    font-size: 1rem;
    line-height: 1;
}

.nav-text {
    font-weight: inherit;
}

.nav-arrow {
    font-size: 0.625rem;
    color: #9ca3af;
    transition: transform 0.2s;
}

.nav-btn:hover .nav-arrow {
    transform: translateY(1px);
}

/* XP Display */
.nav-xp {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 180px;
}

.nav-xp-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.nav-level {
    color: #16a34a;
    font-weight: 600;
}

.nav-xp-text {
    color: #6b7280;
    font-weight: 500;
}

.nav-xp-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.nav-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Points */
.nav-points {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9333ea;
    padding: 0.5rem 0.75rem;
    background: #faf5ff;
    border-radius: 6px;
    white-space: nowrap;
}

/* User Menu */
.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.nav-user-btn:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}

.nav-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
}

.nav-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-header {
    padding: 1rem;
    background: #f9fafb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.nav-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-dropdown-info {
    flex: 1 1;
    min-width: 0;
}

.nav-dropdown-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-email {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
}

.nav-dropdown-items {
    padding: 0.5rem;
}

.nav-dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.875rem;
    color: #374151;
    text-align: left;
}

.nav-dropdown-item:hover {
    background: #f9fafb;
}

.nav-dropdown-item-danger {
    color: #dc2626;
}

.nav-dropdown-item-danger:hover {
    background: #fef2f2;
    color: #991b1b;
}

.nav-dropdown-icon {
    font-size: 1rem;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-xp {
        min-width: 140px;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-btn {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }
    
    .nav-points {
        display: none;
    }
}

.user-level-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.user-level {
    font-size: 0.875rem;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
}

.xp-bar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xp-bar-track {
    flex: 1 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    min-width: 120px;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

@keyframes xp-gain {
    0% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.05);
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes level-up {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        color: #f59e0b;
    }
}

.user-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.user-xp {
    font-weight: 500;
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    min-width: 60px;
}

/* Premium Button - New Design */
.btn-premium-activate-new {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% 100%;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: none; /* Oculto por padrÃ£o, serÃ¡ mostrado via JavaScript */
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: premium-glow 3s ease-in-out infinite;
}

@keyframes premium-glow {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.1);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), 0 0 0 1px rgba(245, 158, 11, 0.2);
    }
}

.btn-premium-activate-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.btn-premium-activate-new:hover::before {
    left: 100%;
}

.btn-premium-activate-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), 0 0 0 1px rgba(245, 158, 11, 0.2);
    background-position: 100% 0;
}

.btn-premium-activate-new:active {
    transform: translateY(0);
}

.premium-btn-icon-new {
    font-size: 1.125rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: sparkle-premium 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.premium-btn-text-new {
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* User Menu - New Design */
.user-menu-wrapper {
    position: relative;
}

.btn-user-menu-new {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    position: relative;
    padding: 0;
}

.btn-user-menu-new:hover {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.user-avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-new {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.user-status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* User Dropdown - New Design */
.user-dropdown-new {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.user-dropdown-new.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.user-dropdown-header-new {
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.user-dropdown-avatar-new {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}

.user-dropdown-info-new {
    flex: 1 1;
    min-width: 0;
}

.user-dropdown-name-new {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email-new {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-divider-new {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.1) 50%, transparent 100%);
    margin: 0.5rem 0;
}

.user-dropdown-menu-new {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-dropdown-item-new {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    text-align: left;
}

.user-dropdown-item-new:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
}

.user-dropdown-item-new:active {
    transform: translateX(2px);
}

.user-dropdown-item-danger {
    color: #dc2626;
}

.user-dropdown-item-danger:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
}

.dropdown-item-icon {
    font-size: 1.25rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item-text {
    font-weight: 500;
}

/* Login Button - New Design */
.btn-login-new {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #16a34a;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.btn-login-new:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.login-icon {
    font-size: 1.125rem;
}

.login-text {
    font-weight: 600;
}

/* Responsive para botÃ£o premium */
@media (max-width: 1024px) {
    .btn-premium-activate-new .premium-btn-text-new {
        display: none;
    }
    
    .btn-premium-activate-new {
        padding: 0.625rem;
        min-width: 40px;
        justify-content: center;
    }
    
    .user-progress-card {
        min-width: 180px;
    }
    
    .farm-name-new {
        display: none;
    }
    
    .btn-farm-selector-new {
        padding: 0.625rem;
    }
}

.user-points {
    font-weight: 600;
    color: #9333ea;
}

/* Settings Modal */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.settings-modal.active {
    display: flex;
}

.settings-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.settings-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: settingsSlideIn 0.3s ease-out;
}

@keyframes settingsSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px 16px 0 0;
}

.settings-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
}

.settings-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.settings-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.settings-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.settings-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.settings-body {
    padding: 2rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.settings-label .label-icon {
    font-size: 1rem;
}

.settings-optional {
    font-weight: 400;
    color: #9ca3af;
    font-size: 0.75rem;
}

.settings-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s;
}

.settings-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.settings-input:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.settings-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    margin-top: -0.25rem;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.settings-btn {
    flex: 1 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.settings-btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.settings-btn-cancel:hover {
    background: #e5e7eb;
}

.settings-btn-save {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.settings-btn-save:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.settings-btn-save:active {
    transform: translateY(0);
}

.settings-btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 640px) {
    .settings-modal {
        padding: 1rem;
    }
    
    .settings-container {
        max-height: 95vh;
    }
    
    .settings-header {
        padding: 1.25rem 1.5rem;
    }
    
    .settings-body {
        padding: 1.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
    }
}

/* Status Panel - Redesigned */
.status-panel {
    margin: 2rem auto;
    max-width: 1560px;
    padding: 0 3rem;
    position: relative;
    z-index: 10;
}

.status-panel-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.08), 0 0 0 1px rgba(34, 197, 94, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Divider */
.panel-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.15) 50%, transparent 100%);
}

/* New Plant Button - Redesigned */
.btn-new-plant {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-new-plant:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-new-plant:active {
    transform: translateY(0);
}

.plant-btn-icon {
    font-size: 1.35rem;
}

.plant-btn-text {
    font-size: 0.975rem;
    letter-spacing: 0.01em;
}

/* Status Cards - Redesigned */
.status-cards {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.stat-card:active {
    transform: translateY(0);
}

.stat-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.7;
}

/* Card Colors - Review (Yellow/Orange) */
.stat-card.card-review {
    background: linear-gradient(135deg, #fffbeb 0%, #fef9e7 100%);
}

.stat-card.card-review .stat-number {
    color: #d97706;
}

.stat-card.card-review .stat-label {
    color: #92400e;
}

/* Card Colors - Ready (Green) */
.stat-card.card-ready {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f8ef 100%);
}

.stat-card.card-ready .stat-number {
    color: #16a34a;
}

.stat-card.card-ready .stat-label {
    color: #14532d;
}

.stat-card.card-ready.has-ready {
    animation: pulse-card-ready 2s ease-in-out infinite;
}

@keyframes pulse-card-ready {
    0%, 100% { 
        box-shadow: 0 1px 3px rgba(34, 197, 94, 0.15), inset 0 0 0 1px rgba(34, 197, 94, 0.1);
    }
    50% { 
        box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3), inset 0 0 0 1px rgba(34, 197, 94, 0.2);
    }
}

/* Card Colors - Total (Blue) */
.stat-card.card-total {
    background: linear-gradient(135deg, #eff6ff 0%, #e6f2ff 100%);
}

.stat-card.card-total .stat-number {
    color: #2563eb;
}

.stat-card.card-total .stat-label {
    color: #1e3a8a;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: #ced4da;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #40916c;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-flip {
    width: 100%;
    margin: 1rem 0;
}

/* Delete Modal */
.modal-small {
    max-width: 450px;
}

.modal-medium {
    max-width: 600px;
}

/* Farm Selector Modal - Redesigned */
#farmSelectorModal {
    z-index: 10000 !important;
}

.farm-selector-modal {
    max-width: 680px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10002 !important;
    background: white;
}

.farm-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 10001 !important;
    cursor: pointer;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto;
}

.farm-modal-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.farm-modal-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
}

.farm-modal-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.farm-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.farm-modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
    color: white;
}

.farm-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.farm-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.farm-modal-body {
    background: #f8fafc;
    padding: 2rem;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.farms-list-container {
    flex: 1 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.farms-list-container::-webkit-scrollbar {
    width: 6px;
}

.farms-list-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.farms-list-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.farms-list-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.farms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.farm-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.farm-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #22c55e;
    transform: scaleY(0);
    transition: transform 0.3s;
}

.farm-item:hover {
    border-color: #22c55e;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.farm-item:hover::before {
    transform: scaleY(1);
}

.farm-item.active,
.farm-item-active {
    border: 3px solid #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25), 0 0 0 4px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.farm-item.active::before,
.farm-item-active::before {
    transform: scaleY(1);
    width: 5px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.farm-item-active .farm-item-name::after {
    content: ' âœ“';
    color: #22c55e;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    animation: checkmark-fade 2s ease-in-out infinite;
}

@keyframes checkmark-fade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}


.farm-item-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1 1;
    min-width: 0;
}

.farm-item-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.farm-item-details {
    flex: 1 1;
    min-width: 0;
}

.farm-item-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.farm-item-stats {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.farm-item-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.farm-item-badges {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.farm-item-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.farm-item-badge.default {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.farm-item-badge.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.farm-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.btn-create-farm {
    width: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-create-farm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-create-farm:active {
    transform: translateY(0);
}

.btn-create-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-create-text {
    font-weight: 600;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    color: #64748b;
    font-size: 0.95rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-farms-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-farms-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-farms-state .empty-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Create Farm Modal - Redesigned */
#createFarmModal {
    z-index: 10000 !important;
}

.create-farm-modal {
    max-width: 520px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10002 !important;
    background: white;
}

.create-farm-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 10001 !important;
    cursor: pointer;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto;
}

.create-farm-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.create-farm-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
}

.create-farm-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.create-farm-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.create-farm-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
    color: white;
}

.create-farm-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.create-farm-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.create-farm-body {
    background: #f8fafc;
    padding: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.1rem;
}

.label-optional {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: white;
    color: #1e293b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option:disabled {
    color: #9ca3af;
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: white;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.btn-cancel {
    padding: 0.875rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

.btn-submit {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Premium Plan Modal - New Learning Focused Design */
#premiumPlanModal {
    z-index: 10000 !important;
}

.premium-plan-modal-new {
    max-width: 700px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10002 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    animation: premiumModalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes premiumModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.premium-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001 !important;
    cursor: pointer;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto;
}

.premium-modal-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.premium-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

.premium-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
    position: relative;
    z-index: 1;
}

.premium-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: sparkle-premium 2s ease-in-out infinite;
}

@keyframes sparkle-premium {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-3deg);
    }
}

.premium-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.premium-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    color: white;
}

.premium-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
}

.premium-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.premium-modal-body {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2.5rem 2rem;
}

.premium-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.premium-benefits {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefits-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.25rem 0;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 2px solid #86efac;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.benefit-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.benefit-text {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.benefit-text strong {
    color: #16a34a;
    font-weight: 700;
}

.premium-pricing {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: #1e293b;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.period {
    font-size: 1.25rem;
    font-weight: 600;
    color: #64748b;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.feature-badge {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #92400e;
    border: 2px solid #fbbf24;
}

.premium-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-premium {
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-premium:active {
    transform: translateY(-1px);
}

.btn-premium-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: sparkle-premium 2s ease-in-out infinite;
}

/* Premium Plan Modal - New Learning Focused Design Styles */
.premium-modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Premium Hero Section - New Design */
.premium-hero-new {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-hero-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: premiumFloat 8s ease-in-out infinite;
}

.premium-hero-new::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: premiumFloat 10s ease-in-out infinite reverse;
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}

.premium-hero-icon-new {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    animation: premiumIconBounce 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes premiumIconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.premium-hero-title-new {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.premium-hero-subtitle-new {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* Premium Content - New Design */
.premium-content-new {
    padding: 2.5rem;
}

.premium-learning-message {
    text-align: center;
    margin-bottom: 2.5rem;
}

.learning-title-new {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.learning-description-new {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Grid - New Design */
.premium-benefits-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.premium-benefit-card-new {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-benefit-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.premium-benefit-card-new:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.premium-benefit-card-new:hover::before {
    transform: scaleX(1);
}

.benefit-card-icon-new {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: benefitIconFloat 3s ease-in-out infinite;
}

.premium-benefit-card-new:nth-child(1) .benefit-card-icon-new {
    animation-delay: 0s;
}

.premium-benefit-card-new:nth-child(2) .benefit-card-icon-new {
    animation-delay: 0.5s;
}

.premium-benefit-card-new:nth-child(3) .benefit-card-icon-new {
    animation-delay: 1s;
}

.premium-benefit-card-new:nth-child(4) .benefit-card-icon-new {
    animation-delay: 1.5s;
}

@keyframes benefitIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.benefit-card-title-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.benefit-card-text-new {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section - New Design */
.premium-stats-new {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    border: 2px solid #bfdbfe;
}

.premium-stat-item-new {
    text-align: center;
    flex: 1 1;
}

.stat-number-new {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-new {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
}

/* Pricing Card - New Design */
.premium-pricing-new {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid #3b82f6;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.premium-pricing-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%);
    background-size: 200% 100%;
    animation: pricingShine 3s ease-in-out infinite;
}

@keyframes pricingShine {
    0%, 100% {
        background-position: 0% 0;
    }
    50% {
        background-position: 100% 0;
    }
}

.pricing-header-new {
    margin-bottom: 1.5rem;
}

.pricing-label-new {
    display: block;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount-new {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.price-new {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period-new {
    font-size: 1.25rem;
    font-weight: 600;
    color: #64748b;
}

.pricing-features-new {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-feature-item-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.feature-check-new {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Actions - New Design */
.premium-actions-new {
    padding: 0 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-btn-new {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.premium-btn-primary-new {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    background-size: 200% 100%;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    animation: premiumBtnGlow 3s ease-in-out infinite;
}

@keyframes premiumBtnGlow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6);
    }
}

.premium-btn-primary-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.premium-btn-primary-new:hover::before {
    left: 100%;
}

.premium-btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
    background-position: 100% 0;
}

.premium-btn-secondary-new {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.premium-btn-secondary-new:hover {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
}

.btn-icon-new {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.btn-text-new {
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Close Button - New Design */
.premium-close-new {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}

.premium-close-new:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .premium-benefits-grid-new {
        grid-template-columns: 1fr;
    }
    
    .premium-stats-new {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .premium-hero-title-new {
        font-size: 1.5rem;
    }
    
    .premium-hero-subtitle-new {
        font-size: 1rem;
    }
    
    .price-new {
        font-size: 3rem;
    }
    
    .premium-content-new {
        padding: 2rem 1.5rem;
    }
    
    .premium-actions-new {
        padding: 0 1.5rem 2rem;
    }
    
    .premium-hero-new {
        padding: 2.5rem 1.5rem 2rem;
    }
}

/* Payment Modal */
#paymentModal {
    z-index: 10010 !important;
}

.payment-modal {
    max-width: 600px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10012 !important;
    background: white;
}

.payment-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10011 !important;
    cursor: pointer;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto;
}

.payment-modal-header {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.payment-modal-close {
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.payment-modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.payment-modal-body {
    background: white;
    padding: 2rem;
}

.payment-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Pricing Minimalista */
.payment-pricing-minimal {
    text-align: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.payment-price-minimal {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.payment-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.payment-label-icon {
    font-size: 1rem;
}

.payment-input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: white;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.payment-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-input::placeholder {
    color: #94a3b8;
}

.payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-method-option {
    cursor: pointer;
    display: block;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-card {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.payment-method-selected .payment-method-card {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.payment-method-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.payment-method-name {
    flex: 1 1;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
}

.payment-method-badge {
    padding: 0.25rem 0.625rem;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.payment-cta {
    margin-top: 0.5rem;
}

.btn-payment-generate {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: #3b82f6;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-payment-generate:hover {
    background: #2563eb;
}

.btn-payment-generate:active {
    transform: scale(0.98);
}

.btn-payment-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-payment-text {
    font-weight: 700;
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* PIX Payment Modal */
#pixPaymentModal {
    z-index: 10020 !important;
}

.pix-payment-modal {
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10022 !important;
    background: white;
}

.pix-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10021 !important;
    cursor: pointer;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto;
}

.pix-modal-header {
    background: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.pix-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.pix-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1;
    position: relative;
    z-index: 1;
}

.pix-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.pix-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pix-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    color: white;
}

.pix-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
}

.pix-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.pix-modal-body {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    padding: 2.5rem 2rem;
}

.pix-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pix-qr-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pix-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pix-qr-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pix-qr-code-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    display: inline-block;
}

.pix-qr-code {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 8px;
}

.pix-copy-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pix-copy-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pix-copy-icon {
    font-size: 1.25rem;
}

.pix-copy-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.pix-copy-input {
    flex: 1 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: #1e293b;
    background: #f8fafc;
    word-break: break-all;
}

.pix-copy-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.pix-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.pix-copy-btn:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.125rem;
}

.pix-info-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pix-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pix-info-item:last-child {
    border-bottom: none;
}

.pix-info-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
}

.pix-info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.pix-status-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid #fbbf24;
}

.pix-status-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pix-status-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #92400e;
}

/* Responsive PIX Modal */
@media (max-width: 768px) {
    .pix-payment-modal {
        width: 95%;
        max-width: none;
    }
    
    .pix-modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .pix-title {
        font-size: 1.5rem;
    }
    
    .pix-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .pix-qr-code {
        width: 180px;
        height: 180px;
    }
    
    .pix-copy-input-wrapper {
        flex-direction: column;
    }
    
    .pix-copy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .payment-modal {
        width: 95%;
        max-width: none;
    }
    
    .payment-modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .payment-title {
        font-size: 1.5rem;
    }
    
    .payment-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .payment-form {
        padding: 1.5rem;
    }
    
    .payment-price {
        font-size: 2.75rem;
    }
}

.btn-premium-secondary {
    padding: 0.875rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-premium-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-plan-modal {
        width: 95%;
    }

    .premium-modal-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .premium-icon {
        font-size: 2.5rem;
    }

    .premium-title {
        font-size: 1.5rem;
    }

    .premium-subtitle {
        font-size: 0.9rem;
    }

    .premium-modal-body {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 2.75rem;
    }

    .btn-premium {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

.delete-warning {
    color: #f59e0b;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
}

.plant-to-delete {
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    text-align: center;
}

.plant-to-delete .plant-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.plant-to-delete .plant-name {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

/* Plants Grid */
.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 1.5rem;
    gap: 1.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Plant Cards - Redesign with 5 States */
.plant-card {
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 220px;
}

/* Background Pattern with Vegetable Emoji */
.card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    overflow: hidden;
}

.card-bg-pattern::before {
    content: attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji);
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    font-size: 4rem;
    line-height: 5rem;
    word-spacing: 3rem;
    letter-spacing: 1rem;
    white-space: pre-wrap;
    transform: rotate(-15deg);
    opacity: 1;
}

.card-bg-pattern::after {
    content: attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji) ' ' attr(data-emoji);
    position: absolute;
    top: 30%;
    left: 10%;
    right: -20%;
    bottom: -20%;
    font-size: 4rem;
    line-height: 5rem;
    word-spacing: 3rem;
    letter-spacing: 1rem;
    white-space: pre-wrap;
    transform: rotate(-15deg);
    opacity: 1;
}

.delete-plant-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ef4444;
    transition: all 0.2s;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plant-card:hover .delete-plant-btn {
    opacity: 1;
    pointer-events: all;
}

.delete-plant-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.plant-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 18px;
    padding: 4px;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent var(--progress, 0%),
        #e5e7eb var(--progress, 0%),
        #e5e7eb 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.plant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.plant-card:active {
    transform: translateY(-2px);
    transition: transform 0.1s;
}

/* ðŸŒ° EstÃ¡gio 1: Semente - Amarelo Claro */
.plant-card.seed {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFF3CD 100%);
    border: 2px solid #FFD54F;
}

.plant-card.seed .card-label {
    background: linear-gradient(135deg, #FB8C00, #F57C00);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ðŸŒ± EstÃ¡gio 2: Crescendo - Verde Claro */
.plant-card.growing {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 2px solid #66BB6A;
}

.plant-card.growing .card-label {
    background: linear-gradient(135deg, #43A047, #388E3C);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ðŸ’§ EstÃ¡gio 3: Precisa Regar - Amarelo */
.plant-card.needs-water {
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
    border: 2px solid #FBC02D;
    animation: pulse-warning 2s ease-in-out infinite;
}

.plant-card.needs-water .card-label {
    background: linear-gradient(135deg, #F57C00, #EF6C00);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: label-pulse 2s ease-in-out infinite;
}

@keyframes label-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
    }
}

/* ðŸŒ¾ EstÃ¡gio 4: Pronta para Colher - Roxo Claro */
.plant-card.ready-harvest {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    border: 2px solid #BA68C8;
    animation: glow-harvest 2s ease-in-out infinite;
}

.plant-card.ready-harvest .card-label {
    background: linear-gradient(135deg, #8E24AA, #7B1FA2);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: glow-label 2s ease-in-out infinite;
}

@keyframes glow-label {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(142, 36, 170, 0.4), 0 0 20px rgba(142, 36, 170, 0.2);
    }
}

/* â˜ ï¸ EstÃ¡gio 5: Planta Morta - Cinza */
.plant-card.dead {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    opacity: 0.8;
    position: relative;
}

.plant-card.dead::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(0,0,0,0.1) 49%, rgba(0,0,0,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0,0,0,0.1) 49%, rgba(0,0,0,0.1) 51%, transparent 52%);
    background-size: 20px 20px;
    pointer-events: none;
}

.plant-card.dead .card-label {
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Delete Button - OCULTO */
.delete-plant-btn {
    display: none !important;
}

/* Card Components */
.card-header {
    padding: 0;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.card-label {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.card-word {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: 0.05em;
}

.card-timer {
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.02em;
    min-height: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Timer styles for different states */
.plant-card.seed .card-timer {
    background: linear-gradient(135deg, rgba(255, 243, 224, 0.95), rgba(255, 237, 213, 0.95));
    color: #c2410c;
    border-top-color: rgba(251, 146, 60, 0.3);
    border-bottom-color: rgba(251, 146, 60, 0.3);
}

.plant-card.growing .card-timer {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.95), rgba(220, 252, 231, 0.95));
    color: #065f46;
    border-top-color: rgba(16, 185, 129, 0.3);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.plant-card.needs-water .card-timer {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(254, 243, 199, 0.95));
    color: #92400e;
    border-top-color: rgba(251, 191, 36, 0.3);
    border-bottom-color: rgba(251, 191, 36, 0.3);
    animation: timer-pulse 2s ease-in-out infinite;
}

.plant-card.ready-harvest .card-timer {
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.95), rgba(243, 232, 255, 0.95));
    color: #6b21a8;
    border-top-color: rgba(168, 85, 247, 0.3);
    border-bottom-color: rgba(168, 85, 247, 0.3);
}

@keyframes timer-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
    }
}

.card-footer {
    padding: 0.75rem;
    position: relative;
    z-index: 1;
}

.card-action-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-action-btn.btn-water {
    background: #FF9800;
    color: white;
}

.card-action-btn.btn-water:hover {
    background: #F57C00;
}

.card-action-btn.btn-review {
    background: #2196F3;
    color: white;
}

.card-action-btn.btn-review:hover {
    background: #1976D2;
}

.card-action-btn.btn-details {
    background: #4CAF50;
    color: white;
}

.card-action-btn.btn-details:hover {
    background: #388E3C;
}

.card-action-btn.btn-harvest {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1f2937;
    font-weight: 800;
}

.card-action-btn.btn-harvest:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.card-action-btn.btn-replant {
    background: #4CAF50;
    color: white;
}

.card-action-btn.btn-replant:hover {
    background: #388E3C;
}

/* Animations */
@keyframes pulse-warning {
    0%, 100% {
        border-color: #FBC02D;
        box-shadow: 0 4px 12px rgba(251, 192, 45, 0.3);
    }
    50% {
        border-color: #F57C00;
        box-shadow: 0 4px 20px rgba(245, 124, 0, 0.5);
    }
}

@keyframes glow-harvest {
    0%, 100% {
        border-color: #BA68C8;
        box-shadow: 0 4px 12px rgba(142, 36, 170, 0.3);
    }
    50% {
        border-color: #8E24AA;
        box-shadow: 0 4px 24px rgba(142, 36, 170, 0.6);
    }
}

/* Ãcone de Ã¡gua piscando */
.water-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5rem;
    z-index: 3;
    animation: blink 1.5s ease-in-out infinite;
}

/* PartÃ­culas de brilho */
.sparkle-particle {
    position: absolute;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 2;
    animation: float-sparkle 3s ease-in-out infinite;
}

.sparkle-particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.sparkle-particle:nth-child(2) { top: 15%; right: 15%; animation-delay: 1s; }
.sparkle-particle:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 2s; }

.plant-stage {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.plant-card.needs-water .plant-stage {
    opacity: 0.6;
    filter: grayscale(0.3) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.plant-card.ready-harvest .plant-stage {
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
}

.plant-info {
    width: 100%;
    position: relative;
    z-index: 1;
}

.plant-topic {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plant-status {
    font-size: 0.85rem;
    color: var(--text-light);
}

.plant-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 3;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.badge-growing {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.badge-water {
    background: rgba(249, 115, 22, 0.9);
    color: white;
}

.badge-harvest {
    background: rgba(251, 191, 36, 0.9);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.empty-state p {
    font-size: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#farmSelectorModal {
    z-index: 10000 !important;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    justify-content: stretch;
    width: 100%;
}

.modal-footer .btn {
    flex: 1 1;
    min-width: 0;
}

/* Plant Modal Specific Styles */
.modal-plant {
    max-width: 900px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    border: 2px solid rgba(34, 197, 94, 0.1);
}

.modal-plant .close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-plant .modal-body {
    padding: 2.5rem;
}

/* Plant Modal Header */
.plant-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.3));
    animation: float-plant-icon 3s ease-in-out infinite;
}

@keyframes float-plant-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Word Preview Card */
.word-preview-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #a7f3d0;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.word-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 50%, #22c55e 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.word-preview-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1 1;
}

.ai-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    animation: pulse-ai 2s ease-in-out infinite;
}

@keyframes pulse-ai {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); }
}

.ai-icon {
    font-size: 2rem;
}

.word-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.word-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: capitalize;
    line-height: 1;
}

.word-preview-decoration {
    display: flex;
    gap: 0.75rem;
    opacity: 0.6;
}

.sparkle {
    font-size: 1.5rem;
    animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes sparkle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-8px) scale(1.2); opacity: 1; }
}

/* Plant Selection Section */
.plant-selection-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Plant Modal Actions */
.plant-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-plant-cancel,
.btn-plant-confirm {
    flex: 1 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-plant-cancel {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-plant-cancel:hover {
    background: #e5e7eb;
    color: #374151;
}

.btn-plant-confirm {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-plant-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-plant-icon {
    font-size: 1.25rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: border-color 0.2s;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Plant Type Options */
.plant-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.25rem;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.plant-type-option {
    cursor: pointer;
}

.plant-type-option input[type="radio"] {
    display: none;
}

.plant-type-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 280px;
}

.plant-type-option:hover .plant-type-card {
    border-color: #22c55e;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.plant-type-option input[type="radio"]:checked + .plant-type-card {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: #16a34a;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    transform: translateY(-4px) scale(1.02);
}

.plant-emoji {
    font-size: 3rem;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.plant-type-option:hover .plant-emoji {
    transform: scale(1.1) rotate(5deg);
}

.plant-type-option input[type="radio"]:checked + .plant-type-card .plant-emoji {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.plant-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.plant-schedule {
    font-size: 0.8rem;
    opacity: 0.75;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 0.25rem;
}

.plant-type-option input[type="radio"]:checked + .plant-type-card .plant-schedule {
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.95;
}

.plant-description {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.5;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    flex: 1 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plant-type-option input[type="radio"]:checked + .plant-type-card .plant-description {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Review Modal */
.modal-review .modal-content {
    max-width: 750px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.modal-review .close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Step 1: Question */
.review-body-step1 {
    padding: 2.5rem 2rem;
}

.review-header {
    text-align: center;
    margin-bottom: 2rem;
}

.review-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: water-drop 2s ease-in-out infinite;
}

@keyframes water-drop {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.review-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.question-card {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #60a5fa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

.question-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.6;
    margin: 0;
}

.options-container {
    margin-top: 1.5rem;
}

.options-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.25rem;
}

/* Multiple Choice Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    gap: 1rem;
}

.option-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.option-btn:hover:not(.option-correct):not(.option-wrong) {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.option-btn.option-correct {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #16a34a;
    color: #065f46;
    animation: correctPulse 0.6s ease-out;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

.option-btn.option-wrong {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #dc2626;
    color: #991b1b;
    animation: shake 0.5s ease-in-out;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

@keyframes correctPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* Step 2: Answer Screen */
.review-body-step2 {
    padding: 2.5rem 2rem;
}

.feedback-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-result {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: fadeInBounce 0.5s ease-out;
}

.feedback-result.correct {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.feedback-result.wrong {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.feedback-icon {
    font-size: 1.75rem;
}

.feedback-text {
    font-size: 1.1rem;
    font-weight: 700;
}

@keyframes fadeInBounce {
    0% { opacity: 0; transform: translateY(-20px) scale(0.9); }
    60% { transform: translateY(5px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Answer Showcase */
.answer-showcase {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.12);
    position: relative;
}

.answer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.answer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.answer-content {
    flex: 1 1;
    text-align: center;
}

.answer-word {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.answer-translation {
    font-size: 1.15rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.btn-audio-round {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-audio-round:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.btn-audio-round:active {
    transform: scale(0.95);
}

/* Examples Container */
.examples-container {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-title-review {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.examples-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loading-examples {
    text-align: center;
    padding: 1.5rem;
    color: #9ca3af;
    font-style: italic;
}

/* Notes Container */
.notes-container {
    margin-bottom: 2rem;
}

.notes-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.2s;
    background: white;
    color: #374151;
    line-height: 1.6;
}

.notes-textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.notes-textarea::placeholder {
    color: #9ca3af;
}

/* Review Save Button */
.review-save-container {
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.btn-save-review {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
    min-width: 240px;
    justify-content: center;
}

.btn-save-review:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

.btn-save-review:active {
    transform: translateY(-1px);
}

.save-icon {
    font-size: 1.5rem;
    font-weight: 900;
}

.save-text {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* Example Items (for JS-generated examples) */
.example-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-left: 4px solid #22c55e;
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s;
}

.example-item:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.example-text {
    flex: 1 1;
}

.example-english {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.375rem;
    line-height: 1.5;
}

.example-portuguese {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    line-height: 1.4;
}

/* Audio button for examples (if using .btn-audio-small) */
.btn-audio-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-audio-small:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-audio-small:active {
    transform: scale(0.95);
}

/* Plant Info Modal */
.modal-plant-info {
    max-width: 650px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.modal-plant-info .close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plant-info-body {
    padding: 2.5rem 2rem;
}

/* Plant Info Header */
.plant-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.plant-icon-large {
    font-size: 5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.plant-word-info {
    flex: 1 1;
}

.plant-word-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.plant-word-translation {
    font-size: 1.15rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

/* Info Cards */
.info-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1.25rem;
    gap: 1.25rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.status-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value {
    font-size: 1.05rem;
    color: #1f2937;
    font-weight: 700;
}

/* Progress Info */
.progress-info-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.progress-text {
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Next Review */
.next-review-content {
    text-align: center;
    padding: 0.5rem 0;
}

.next-review-text {
    font-size: 1.05rem;
    color: #1f2937;
    font-weight: 600;
    margin: 0;
}

/* Notes Content */
.notes-content {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
}

.notes-content p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
}

/* Plant Info Actions */
.plant-info-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.btn-info-action {
    flex: 1 1;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.btn-info-action .btn-icon {
    font-size: 1.25rem;
}

.btn-review-now {
    border-color: #86efac;
    background: linear-gradient(135deg, #ffffff 0%, #dcfce7 100%);
    color: #16a34a;
}

.btn-review-now:hover {
    border-color: #22c55e;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.2);
}

.btn-delete-plant {
    border-color: #fca5a5;
    background: linear-gradient(135deg, #ffffff 0%, #fee2e2 100%);
    color: #dc2626;
}

.btn-delete-plant:hover {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.2);
}

/* Flashcard (for harvest modal) */
.flashcard {
    background: var(--background);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.flashcard-question p,
.flashcard-answer p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text);
}

.answer-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.flashcard-answer {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* AnimaÃ§Ãµes simplificadas e limpas */
@keyframes pulse-border {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.8;
        filter: brightness(1.1);
    }
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow-border {
    0%, 100% { 
        filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes float-sparkle {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

@keyframes pulse-badge-ready {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
    }
}

@keyframes badge-bounce {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-4px);
    }
}

@keyframes xp-gain {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
    }
}

@keyframes water-drop {
    0% { 
        transform: translateY(-20px) scale(0);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% { 
        transform: translateY(40px) scale(1);
        opacity: 0;
    }
}

@keyframes leaf-fly {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translate(var(--tx), var(--ty)) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}

@keyframes card-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Harvest */
.harvest-celebration {
    text-align: center;
    margin-bottom: 1.5rem;
}

.trophy {
    font-size: 4rem;
    animation: bounce 1s infinite;
}

.congrats {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--success);
    margin-top: 0.5rem;
}

/* Loading Spinner */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Harvested Words Section - COMPACTO */
.harvested-section {
    max-width: 1560px;
    margin: 2.5rem 0 2rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Hero Header com Gradiente - COMPACTO */
.harvested-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    border-radius: 16px;
    padding: 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
    position: relative;
    overflow: hidden;
}

.harvested-hero::before {
    content: 'ðŸŒ¾âœ¨';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 3rem;
    opacity: 0.06;
    letter-spacing: 0.5rem;
    pointer-events: none;
}

.harvested-hero-content {
    text-align: center;
    margin-bottom: 1.25rem;
}

.harvested-hero-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: bounce-trophy 2s ease-in-out infinite;
}

@keyframes bounce-trophy {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
    }
}

.harvested-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #15803d, #16a34a, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.harvested-hero-subtitle {
    font-size: 0.9rem;
    color: #166534;
    margin: 0;
    font-weight: 500;
}

/* Stats Cards - COMPACTO */
.harvested-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.harvested-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.harvested-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
}

.harvested-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.15);
}

.stat-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   TABELA DE PALAVRAS COLHIDAS
   ============================================ */

.harvested-table-wrapper {
    margin-top: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.harvested-table-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #15803d;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dcfce7;
}

.harvested-table {
    width: 100%;
    border-collapse: collapse;
}

.harvested-table thead {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.harvested-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #bbf7d0;
}

.harvested-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.harvested-table tbody tr:hover {
    background: #f9fafb;
}

.harvested-table tbody tr:last-child {
    border-bottom: none;
}

.harvested-table td {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    color: #374151;
    vertical-align: middle;
}

/* Table Cell Styles */
.table-word-cell {
    font-weight: 700;
    color: #16a34a;
}

.table-word-en {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.table-word-pt {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

.table-vegetal-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-vegetal-emoji {
    font-size: 1.5rem;
}

.table-vegetal-name {
    font-weight: 600;
    color: #374151;
}

.table-cycle-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.table-date-cell {
    color: #6b7280;
    font-size: 0.85rem;
}

.table-actions-cell {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action {
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-table-replant {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.btn-table-replant:hover {
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    transform: translateY(-1px);
}

.btn-table-delete {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.btn-table-delete:hover {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    transform: translateY(-1px);
}

/* Empty State for Table */
.harvested-table-empty {
    padding: 3rem 2rem !important;
    text-align: center;
}

.harvested-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.harvested-empty-icon-table {
    font-size: 3rem;
    opacity: 0.2;
}

.harvested-empty-text-table {
    font-size: 1rem;
    font-weight: 600;
    color: #9ca3af;
}

.harvested-empty-subtext-table {
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Responsive Adjustments for Harvested Table */
@media (max-width: 768px) {
    .harvested-table-wrapper {
        padding: 1rem;
    }
    
    .harvested-table th,
    .harvested-table td {
        padding: 0.75rem 0.625rem;
        font-size: 0.85rem;
    }
    
    .table-vegetal-emoji {
        font-size: 1.25rem;
    }
    
    .table-actions-cell {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .btn-table-action {
        width: 100%;
    }
    
    /* Hide "Ciclo" and "Data" columns on mobile */
    .harvested-table th:nth-child(3),
    .harvested-table td:nth-child(3),
    .harvested-table th:nth-child(4),
    .harvested-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .harvested-table-title {
        font-size: 1rem;
    }
    
    .table-word-en {
        font-size: 0.9rem;
    }
    
    .table-word-pt {
        font-size: 0.75rem;
    }
    
    .btn-table-action {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }
}

/* ============================================
   TABLE CELLS - NOVA ESTRUTURA
   ============================================ */

/* Word Column */
.word-column {
    width: 25%;
}

.word-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.word-english {
    font-size: 1.1rem;
    font-weight: 700;
    color: #16a34a;
    text-transform: capitalize;
}

.word-portuguese {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Vegetal Column */
.vegetal-column {
    width: 20%;
}

.vegetal-info {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.vegetal-emoji {
    font-size: 1.75rem;
    line-height: 1;
}

.vegetal-text {
    font-weight: 600;
    color: #374151;
}

/* Cycle Column */
.cycle-column {
    width: 15%;
}

.cycle-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Date Column */
.date-column {
    width: 20%;
}

.date-text {
    color: #4b5563;
    font-size: 0.9rem;
}

/* Actions Column */
.actions-column {
    width: 20%;
}

.actions-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action .btn-icon {
    font-size: 1rem;
    line-height: 1;
}

.btn-action .btn-text {
    line-height: 1;
}

.btn-action-replant {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.btn-action-replant:hover {
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-action-delete {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.btn-action-delete:hover {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Harvested Row */
.harvested-row {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.harvested-row:hover {
    background: linear-gradient(90deg, #f9fafb, #ffffff);
    transform: scale(1.001);
}

.harvested-row:last-child {
    border-bottom: none;
}

/* OLD STYLES - MANTIDOS PARA COMPATIBILIDADE */
.word-cell {
    font-weight: 700;
    color: #16a34a;
    font-size: 1.05rem;
}

.word-translation {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.25rem;
}

.vegetal-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vegetal-icon {
    font-size: 1.5rem;
}

.vegetal-name {
    font-weight: 600;
    color: #1f2937;
}

.cycle-cell {
    color: #6b7280;
    font-weight: 500;
}

.date-cell {
    color: #6b7280;
}

/* Action Buttons */
.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action {
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.btn-replant {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    color: #15803d;
}

.btn-replant:hover {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.btn-delete-harvest {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.btn-delete-harvest:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    border-top: 2px solid rgba(34, 197, 94, 0.1);
    margin-top: 4rem;
    padding: 2.5rem 3rem;
}

.footer-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.footer-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.footer-credits {
    margin-top: 0.5rem;
}

.footer-credits p {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-dark);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s ease-out;
    z-index: 2000;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

/* Authentication System */
/* Login Button in Topbar */
.btn-login {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Farm Selector Button */
.btn-farm-selector {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.btn-farm-selector:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.farm-icon {
    font-size: 1.1rem;
}

.farm-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.farm-arrow {
    font-size: 0.7rem;
    color: #9ca3af;
    transition: transform 0.3s;
}

.btn-farm-selector:hover .farm-arrow {
    transform: translateY(2px);
}

.btn-user-menu {
    background: white;
    border: 2px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-user-menu:hover {
    border-color: #22c55e;
    transform: scale(1.05);
}

.user-avatar {
    font-size: 1.5rem;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.auth-modal.active {
    display: flex;
}

.auth-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
    }
}

.auth-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.auth-close:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: rotate(90deg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.auth-required-notice {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid #fbbf24;
}

.notice-icon {
    font-size: 1.1rem;
}

.notice-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #92400e;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.label-icon {
    font-size: 1.1rem;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.auth-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 10;
}

.auth-footer p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.auth-link {
    background: none;
    border: none;
    color: #22c55e;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.auth-link:hover {
    color: #16a34a;
    text-decoration: underline;
    transform: scale(1.05);
}

.auth-link:active {
    transform: scale(0.98);
}

/* User Dropdown */
.user-dropdown {
    position: fixed;
    top: 70px;
    right: 3rem;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.user-dropdown-info {
    flex: 1 1;
}

.user-dropdown-name {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
}

.user-dropdown-email {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.75rem 0;
}

.user-dropdown-item {
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.2s;
}

.user-dropdown-item:hover {
    background: #fee2e2;
}

/* Responsive */
/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .plant-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .plant-type-card {
        height: 280px;
    }

    .topbar-container {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }

    /* Harvested Section Tablet */
    .harvested-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .topbar-container {
        padding: 0.625rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .topbar-left {
        flex: 1 1;
    }

    .logo-icon {
        font-size: 1.35rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .topbar-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.375rem;
    }

    .user-level {
        font-size: 0.8rem;
    }

    .user-stats {
        font-size: 0.75rem;
    }

    .status-panel {
        padding: 0 1rem;
        margin: 1.5rem 0;
    }

    .status-panel-container {
        flex-direction: column;
        padding: 1.25rem 1rem;
        gap: 1.25rem;
    }

    .panel-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.15) 50%, transparent 100%);
    }

    .btn-new-plant {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .status-cards {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .stat-card {
        width: 100%;
        padding: 1rem 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .stats {
        justify-content: space-between;
        width: 100%;
    }

    .plants-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .plant-types {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .plant-type-card {
        height: 260px;
        padding: 1.25rem 1rem;
    }

    .plant-emoji {
        font-size: 2.5rem;
    }

    .plant-name {
        font-size: 1rem;
    }

    .plant-description {
        font-size: 0.72rem;
        line-height: 1.45;
        padding: 0 0.75rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn-difficulty {
        width: 100%;
    }

    /* Plant Modal Mobile */
    .modal-plant .modal-body {
        padding: 1.5rem;
    }

    .header-icon {
        font-size: 3rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .word-preview-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .word-preview-left {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
    }

    .ai-badge {
        width: 56px;
        height: 56px;
    }

    .ai-icon {
        font-size: 1.75rem;
    }

    .word-label {
        font-size: 0.7rem;
    }

    .word-value {
        font-size: 1.75rem;
    }

    .word-preview-decoration {
        gap: 0.5rem;
    }

    .sparkle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .plant-modal-actions {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .btn-plant-cancel,
    .btn-plant-confirm {
        width: 100%;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }

    .footer-icon {
        font-size: 1.75rem;
    }

    .footer-text {
        font-size: 1.1rem;
    }

    .footer-info p {
        font-size: 0.875rem;
    }

    .footer-credits p {
        font-size: 0.8rem;
    }

    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }

    /* Review Modal Mobile */
    .review-body-step1,
    .review-body-step2 {
        padding: 1.5rem;
    }

    .review-icon {
        font-size: 3rem;
    }

    .review-title {
        font-size: 1.5rem;
    }

    .question-card {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.15rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .option-btn {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .feedback-result {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .answer-showcase {
        padding: 1.5rem;
    }

    .answer-main {
        flex-direction: column;
        gap: 1.25rem;
    }

    .answer-word {
        font-size: 2rem;
    }

    .answer-translation {
        font-size: 1rem;
    }

    .btn-audio-round {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .difficulty-buttons {
        flex-direction: column;
        gap: 0.875rem;
    }

    .btn-diff {
        width: 100%;
        padding: 1rem;
    }

    .example-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .example-english {
        font-size: 0.95rem;
    }

    .example-portuguese {
        font-size: 0.85rem;
    }

    #difficultyButtons {
        flex-direction: column;
        width: 100%;
    }

    /* Plant Info Modal Mobile */
    .plant-info-body {
        padding: 1.5rem;
    }

    .plant-info-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .plant-icon-large {
        font-size: 4rem;
    }

    .plant-word-title {
        font-size: 1.75rem;
    }

    .plant-word-translation {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .plant-info-actions {
        flex-direction: column;
        gap: 0.875rem;
    }

    .btn-info-action {
        width: 100%;
    }

    /* Harvested Section Mobile - COMPACTO */
    .harvested-section {
        padding: 0 1rem;
        margin: 2rem auto 1.5rem;
    }

    .harvested-hero {
        padding: 1.25rem 1rem;
    }

    .harvested-hero-icon {
        font-size: 2rem;
    }

    .harvested-hero-title {
        font-size: 1.5rem;
    }

    .harvested-hero-subtitle {
        font-size: 0.85rem;
    }

    .harvested-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .harvested-stat-card {
        padding: 0.875rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

}

@media (max-width: 480px) {
    .topbar-container {
        padding: 0.5rem 0.75rem;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .user-level {
        font-size: 0.75rem;
    }

    .user-stats {
        font-size: 0.7rem;
    }

    .status-panel {
        margin: 1rem 0;
        padding: 0 0.75rem;
    }

    .status-panel-container {
        padding: 1rem 0.875rem;
        gap: 1rem;
    }

    .stat-card {
        padding: 0.875rem 1rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-icon {
        font-size: 1.35rem;
    }

    .badge-text {
        font-size: 0.65rem;
    }

    .header {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.25rem;
    }

    .plant-stage {
        font-size: 3rem;
    }
}

/* ============================================
   WELCOME POPUP - ApresentaÃ§Ã£o da Plataforma
   ============================================ */

.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.4s ease-out;
}

.welcome-popup.active {
    display: flex;
}

.welcome-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.4s ease-out;
}

.welcome-container {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(34, 197, 94, 0.1);
}

.welcome-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.welcome-logo {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.3));
}

.welcome-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.welcome-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
    border-color: #86efac;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-text {
    flex: 1 1;
}

.feature-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.feature-text p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.welcome-btn {
    flex: 1 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-btn-login {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.welcome-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.welcome-btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.welcome-btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.welcome-btn:active {
    transform: translateY(0);
}

/* Responsive Welcome Popup */
@media (max-width: 768px) {
    .welcome-container {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .welcome-logo {
        font-size: 4rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-content {
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .welcome-feature {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-text h3 {
        font-size: 1.05rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .welcome-actions {
        flex-direction: column;
        gap: 0.875rem;
    }

    .welcome-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    /* Farm Selector Modal - Mobile */
    .farm-selector-modal {
        width: 95%;
        max-height: 90vh;
    }

    .farm-modal-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .farm-modal-header-content {
        gap: 0.75rem;
    }

    .farm-modal-icon {
        font-size: 2rem;
    }

    .farm-modal-title {
        font-size: 1.25rem;
    }

    .farm-modal-subtitle {
        font-size: 0.85rem;
    }

    .farm-modal-body {
        padding: 1.5rem 1.25rem;
        max-height: calc(90vh - 120px);
    }

    .farm-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .farm-item-info {
        width: 100%;
    }

    .farm-item-icon {
        font-size: 2rem;
    }

    .farm-item-name {
        font-size: 1rem;
    }

    .farm-item-stats {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .farm-item-badges {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-create-farm {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Create Farm Modal - Mobile */
    .create-farm-modal {
        width: 95%;
        max-height: 90vh;
    }

    .create-farm-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .create-farm-header-content {
        gap: 0.75rem;
    }

    .create-farm-icon {
        font-size: 2rem;
    }

    .create-farm-title {
        font-size: 1.25rem;
    }

    .create-farm-subtitle {
        font-size: 0.85rem;
    }

    .create-farm-body {
        padding: 1.5rem 1.25rem;
        max-height: calc(90vh - 120px);
        overflow-y: auto;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 1.5rem 1.25rem;
    }

    .welcome-logo {
        font-size: 3.5rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-subtitle {
        font-size: 0.95rem;
    }

    .welcome-feature {
        padding: 0.875rem;
    }

    .feature-icon {
        font-size: 1.75rem;
    }
}

/* ============================================
   Payment Approved Modal Styles
   ============================================ */

.payment-approved-modal {
    max-width: 550px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: white;
    position: relative;
    z-index: 10001;
    animation: slideUpPayment 0.4s ease-out;
}

.payment-approved-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeInPayment 0.3s ease-out;
}

.payment-approved-content {
    padding: 3rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Success Icon Animation */
.payment-approved-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    position: relative;
    background: #dcfce7;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: scalePayment 0.4s ease-in-out 0.4s both, pulsePayment 2s infinite;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    background: #dcfce7;
    position: absolute;
    top: 0;
    left: 0;
    border: 4px solid #22c55e;
    animation: circleDrawPayment 0.6s ease-in-out both;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 35px;
    border: solid #22c55e;
    border-width: 0 4px 4px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: checkmarkDrawPayment 0.6s ease-in-out 0.4s both;
}

.checkmark-stem,
.checkmark-kick {
    display: none;
}

@keyframes checkmarkDrawPayment {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}

@keyframes circleDrawPayment {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scalePayment {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulsePayment {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes slideUpPayment {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInPayment {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Title and Subtitle */
.payment-approved-title {
    font-size: 2rem;
    font-weight: 800;
    color: #16a34a;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-approved-subtitle {
    font-size: 1.1rem;
    color: #15803d;
    margin: 0 0 2rem 0;
    font-weight: 500;
}

/* Benefits List */
.payment-approved-benefits {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f0fdf4;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #dcfce7;
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-text {
    font-size: 1rem;
    font-weight: 600;
    color: #166534;
    flex: 1 1;
    text-align: left;
}

/* Action Button */
.payment-approved-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    margin-top: 1rem;
}

.payment-approved-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.payment-approved-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Responsive Payment Approved Modal */
@media (max-width: 640px) {
    .payment-approved-modal {
        width: 95%;
        max-width: none;
    }
    
    .payment-approved-content {
        padding: 2rem 1.5rem;
    }
    
    .payment-approved-title {
        font-size: 1.75rem;
    }
    
    .payment-approved-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
    }
    
    .benefit-text {
        font-size: 0.95rem;
    }
}

