/* ==================== VARIÁVEIS E DESIGN SYSTEM ==================== */
:root {
    /* Paleta Principal - Tema Neutro (Cinza) */
    --primary-50: var(--gray-50);
    --primary-100: var(--gray-100);
    --primary-200: var(--gray-200);
    --primary-300: var(--gray-300);
    --primary-400: var(--gray-400);
    --primary-500: var(--gray-500);
    --primary-600: var(--gray-600);
    --primary-700: var(--gray-700);
    
    /* Cores Secundárias - Pêssego/Coral */
    --secondary-50: #fff7ed;
    --secondary-100: #ffedd5;
    --secondary-200: #fed7aa;
    --secondary-300: #fdba74;
    --secondary-400: #fb923c;
    --secondary-500: #f97316;
    
    /* Neutros */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-150: #ebebed;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    
    /* Status */
    --success-50: #f0fdf4;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    
    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    --error-50: #fef2f2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    
    --info-50: #eff6ff;
    --info-500: #3b82f6;
    --info-600: #2563eb;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #e5e7eb 0%, #d4d4d8 50%, #9ca3af 100%);
    --gradient-secondary: linear-gradient(135deg, #e5e7eb 0%, #d4d4d8 100%);
    --gradient-soft: linear-gradient(135deg, #f4f4f5 0%, #e5e7eb 50%, #f4f4f5 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    
    /* Sombras */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-pink: 0 10px 40px -10px rgba(107, 114, 128, 0.3);
    --shadow-pink-lg: 0 20px 60px -15px rgba(107, 114, 128, 0.4);
    
    /* Bordas */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Tipografia */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Poppins', var(--font-sans);
}

/* Tema Feminino (Rosa Maternidade) */
body.theme-baby-female {
    --primary-50: #fdf2f8;
    --primary-100: #fce7f3;
    --primary-200: #fbcfe8;
    --primary-300: #f9a8d4;
    --primary-400: #f472b6;
    --primary-500: #ec4899;
    --primary-600: #db2777;
    --primary-700: #be185d;

    --gradient-primary: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #f9a8d4 100%);
    --gradient-secondary: linear-gradient(135deg, #fb923c 0%, #f472b6 100%);
    --gradient-soft: linear-gradient(135deg, #fdf2f8 0%, #fff7ed 50%, #fdf2f8 100%);

    --shadow-pink: 0 10px 40px -10px rgba(236, 72, 153, 0.3);
    --shadow-pink-lg: 0 20px 60px -15px rgba(236, 72, 153, 0.4);
}

/* Tema Masculino (Azul Bebê) */
body.theme-baby-male {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;

    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    --gradient-secondary: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    --gradient-soft: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 50%, #eff6ff 100%);

    --shadow-pink: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
    --shadow-pink-lg: 0 20px 60px -15px rgba(59, 130, 246, 0.4);
}

/* ==================== RESET E BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--gradient-soft);
    background-attachment: fixed;
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-600);
    font-weight: 700;
    font-size: 1.4rem;
    font-family: var(--font-display);
    transition: var(--transition-normal);
}

.navbar-brand a:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(236, 72, 153, 0.3));
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-normal);
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.logout-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-pink);
    font-weight: 600 !important;
}

.logout-btn::after {
    display: none !important;
}

.logout-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-pink-lg) !important;
    background: var(--gradient-primary) !important;
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .logout-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    min-height: calc(100vh - 144px);
    padding: 32px 0;
}

/* ==================== MESSAGES/ALERTS ==================== */
.messages {
    max-width: 1280px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

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

.alert-success {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(220, 252, 231, 0.95));
    color: var(--success-700);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95), rgba(254, 226, 226, 0.95));
    color: var(--error-600);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(219, 234, 254, 0.95));
    color: var(--info-600);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(254, 243, 199, 0.95));
    color: var(--warning-600);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 4px;
    border-radius: var(--radius-sm);
}

.alert-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-normal);
    text-align: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-pink-lg);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-link {
    background: none;
    color: var(--primary-600);
    text-decoration: none;
    padding: 8px 4px;
    border: none;
    font-weight: 600;
}

.btn-link::before {
    display: none;
}

.btn-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled::before {
    display: none;
}

/* ==================== CARDS ==================== */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-6px);
    border-color: var(--primary-200);
}

.card-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-normal);
    background: white;
    color: var(--gray-800);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--gray-300);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

input:disabled {
    background: var(--gray-50);
    color: var(--gray-500);
    cursor: not-allowed;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    cursor: pointer;
    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='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-section {
    border: none;
    padding: 0 0 32px 0;
    margin: 0 0 32px 0;
    border-bottom: 2px solid var(--gray-100);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-section legend {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
    padding: 0;
    font-family: var(--font-display);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Checkbox estilizado */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-500);
    border-radius: var(--radius-sm);
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.priority-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.priority-badge.priority-alta,
.priority-badge.priority-high {
    background: linear-gradient(135deg, var(--error-50), rgba(254, 226, 226, 0.8));
    color: var(--error-600);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.priority-badge.priority-media,
.priority-badge.priority-medium {
    background: linear-gradient(135deg, var(--warning-50), rgba(254, 243, 199, 0.8));
    color: var(--warning-600);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.priority-badge.priority-baixa,
.priority-badge.priority-low {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.8));
    color: var(--success-600);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.category-badge {
    background: linear-gradient(135deg, var(--primary-50), rgba(252, 231, 243, 0.8));
    color: var(--primary-600);
    border: 1px solid rgba(236, 72, 153, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.status-badge .badge-icon {
    font-size: 1.6rem;
}

.status-badge .badge-info {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 500;
}

.status-badge.pregnant {
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.9), rgba(254, 215, 170, 0.7));
    color: #c2410c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.status-badge.postpartum {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(220, 252, 231, 0.7));
    color: var(--success-700);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.planning {
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.9), rgba(252, 231, 243, 0.7));
    color: var(--primary-700);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-200);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
    filter: grayscale(20%);
}

.empty-state h2 {
    margin: 0 0 12px 0;
    color: var(--gray-700);
    font-size: 1.5rem;
    font-family: var(--font-display);
}

.empty-state p {
    margin: 0 0 24px 0;
    color: var(--gray-500);
    font-size: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .btn {
    margin: 0 8px;
}

/* ==================== INFO BOX ==================== */
.info-box {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.6));
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-top: 16px;
}

.info-box p {
    margin: 0;
    color: var(--success-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p::before {
    content: '✨';
    font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 24px;
    color: var(--gray-500);
    font-size: 0.9rem;
    border-top: 1px solid rgba(236, 72, 153, 0.1);
    margin-top: 48px;
}

.footer p {
    margin: 0;
}

/* ==================== PAGE HEADERS ==================== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    margin: 0 0 12px 0;
    color: var(--gray-800);
    font-size: 2.25rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.page-header .subtitle {
    margin: 0;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ==================== CONTAINERS ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 600px;
}

.container-md {
    max-width: 800px;
}

.container-lg {
    max-width: 1000px;
}

/* ==================== DASHBOARD STYLES ==================== */
.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
}

.metrics-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: stretch;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.metric-card {
    height: 100%;
}

.welcome-section h1 {
    margin: 0 0 8px 0;
    color: var(--gray-800);
    font-size: 2rem;
    font-family: var(--font-display);
}

.welcome-subtitle {
    margin: 0;
    color: var(--gray-500);
    font-size: 1rem;
}

.user-status {
    display: flex;
    gap: 16px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.dashboard-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.dashboard-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: var(--primary-200);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--gray-800);
    font-family: var(--font-display);
}

/* Checklist Cards */
.checklists-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.checklist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.checklist-card:hover {
    border-color: var(--primary-300);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.checklist-card:hover::before {
    opacity: 1;
}

.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.checklist-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-800);
    font-weight: 600;
}

.checklist-category {
    margin: 0 0 14px 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.progress-text {
    margin: 8px 0 16px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Template Cards */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.template-card {
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    background: white;
}

.template-card:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.template-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.template-card h3 {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    color: var(--gray-800);
    font-weight: 600;
}

.template-description {
    margin: 0 0 14px 0;
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Profile Info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.info-label {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.info-value {
    color: var(--gray-800);
    font-weight: 500;
}

/* ==================== CHECKLISTS PAGE ==================== */
.checklists-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.checklists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.checklists-header h1 {
    margin: 0;
    color: var(--gray-800);
    font-size: 2rem;
    font-family: var(--font-display);
}

.filters-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.filters-form {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.filter-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
    margin: 0;
}

.filter-group select {
    padding: 10px 14px;
    font-size: 0.9rem;
}

.checklists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.checklists-grid .checklist-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.checklists-grid .checklist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.checklists-grid .checklist-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-200);
    transform: translateY(-8px);
}

.checklists-grid .checklist-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--gray-800);
    font-weight: 600;
    flex: 1;
}

.card-description {
    margin: 0 0 12px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-category {
    margin: 0 0 16px 0;
}

.category-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-50), rgba(252, 231, 243, 0.6));
    color: var(--primary-600);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-section {
    margin-bottom: 18px;
}

.due-date {
    margin: 14px 0;
    font-size: 0.85rem;
    color: var(--warning-600);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

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

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.card-actions .btn {
    flex: 1;
}

/* ==================== DETAIL PAGE ==================== */
.detail-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 24px;
    flex-wrap: wrap;
}

.header-content {
    flex: 1;
}

.back-link {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--primary-700);
    transform: translateX(-4px);
}

.detail-header h1 {
    margin: 12px 0 12px 0;
    color: var(--gray-800);
    font-size: 2rem;
    font-family: var(--font-display);
}

.description {
    margin: 0;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

.header-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Progress Section */
.progress-section-detail {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

.progress-info {
    margin-bottom: 18px;
}

.progress-info h3 {
    margin: 0 0 6px 0;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.progress-count {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.progress-percentage {
    margin: 10px 0 0 0;
    text-align: right;
    font-weight: 700;
    color: var(--primary-500);
    font-size: 1rem;
}

/* Items Section */
.items-section {
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
}

.items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.items-header h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.1rem;
    font-family: var(--font-display);
}

.add-item-form {
    background: linear-gradient(135deg, var(--primary-50), rgba(255, 247, 237, 0.5));
    border: 2px solid var(--primary-100);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.item-form .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.item-input,
.item-quantity {
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-normal);
}

.item-input {
    flex: 1;
    min-width: 200px;
}

.item-quantity {
    width: 100px;
}

.item-input:focus,
.item-quantity:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.items-group {
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: white;
    overflow: hidden;
}

.items-group + .items-group {
    margin-top: 0;
}

.items-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--primary-50);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-normal);
}

.items-group-header:hover {
    background: var(--primary-100);
}

.items-group-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.items-group-info {
    flex: 1;
    min-width: 0;
}

.items-group-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.items-group-subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 2px;
}

.items-group-chevron {
    font-size: 1.5rem;
    color: var(--gray-400);
    font-weight: 300;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    line-height: 1;
}

.items-group-body {
    padding: 16px 20px 20px;
    background: rgba(249, 250, 251, 0.4);
    animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.items-group.collapsed .items-group-body {
    display: none;
}

.items-group.collapsed .items-group-chevron {
    transform: rotate(0deg);
}

.items-group:not(.collapsed) .items-group-chevron {
    transform: rotate(90deg);
}

.items-group.collapsed .items-group-header {
    border-bottom: none;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.items-group:not(.collapsed) .items-group-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Estado de grupo vazio ou completo */
.items-group[data-total="0"] .items-group-badge {
    background: var(--gray-100);
    color: var(--gray-500);
    border-color: var(--gray-200);
}

.items-group[data-completed][data-total] {
    position: relative;
}

/* Visual feedback quando grupo está 100% completo */
.items-group.fully-completed {
    border-color: var(--success-300);
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.3), white);
}

.items-group.fully-completed .items-group-header {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.6));
}

.items-group.fully-completed .items-group-icon {
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.completed-count {
    font-weight: 700;
    color: var(--primary-600);
}

.item-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--gray-150);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.92));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
}

.item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}

.item-card:hover {
    border-color: var(--primary-200);
    background: linear-gradient(135deg, var(--primary-50), rgba(252, 231, 243, 0.5));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.item-card:hover::before {
    opacity: 1;
}

.item-card.completed {
    opacity: 0.75;
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.4));
    border-color: rgba(34, 197, 94, 0.25);
}

.item-card.completed::before {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
    opacity: 0.4;
}

.item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.item-main-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.item-checkbox {
    flex-shrink: 0;
    margin-top: 2px;
}

.item-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.item-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    line-height: 1;
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.item-chip--status {
    background: var(--primary-50);
    color: var(--primary-700);
    border-color: var(--primary-200);
    font-weight: 700;
}

.item-chip--amount {
    background: var(--secondary-50);
    color: var(--primary-700);
    border-color: var(--primary-200);
}

.item-chip--muted {
    background: var(--gray-100);
    color: var(--gray-600);
}

.item-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    min-width: 44px;
}

.item-toggle:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-700);
}

.item-toggle-icon {
    display: inline-block;
    transition: transform var(--transition-normal);
}

.item-card.is-open .item-toggle-icon {
    transform: rotate(180deg);
}

.item-body {
    display: none;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-150);
}

.item-card.is-open .item-body {
    display: grid;
    grid-template-columns: 1fr;
}

.item-link-inline {
    margin-top: 4px;
}

.item-label {
    flex: 1;
    cursor: pointer;
    user-select: none;
}

.item-card.completed .item-label {
    color: var(--gray-500);
}

.item-card.completed .item-title {
    text-decoration: line-through;
}

.item-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.item-quantity-display {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.item-description {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.item-actions {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.item-form.compact {
    margin-top: 4px;
}

.item-form.compact .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.item-form.compact .form-group {
    margin-bottom: 0;
}

.form-actions-inline {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.btn-delete {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-normal);
    padding: 6px;
    border-radius: var(--radius-sm);
}

.btn-delete:hover {
    opacity: 1;
    background: var(--error-50);
}

.empty-items {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-500);
}

.empty-items .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.empty-items p {
    margin: 0 0 20px 0;
}

/* Info Section */
.info-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.info-card h3 {
    margin: 0 0 20px 0;
    color: var(--gray-800);
    font-size: 1.1rem;
    font-family: var(--font-display);
}

/* ==================== CREATE/FORM PAGES ==================== */
.create-container,
.profile-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.create-header,
.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.create-header h1,
.profile-header h1 {
    margin: 0 0 12px 0;
    color: var(--gray-800);
    font-size: 2rem;
    font-family: var(--font-display);
}

.create-content,
.profile-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.create-content::before,
.profile-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.create-form {
    margin-bottom: 36px;
}

.tips-section {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.4));
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.tips-section h3 {
    margin: 0 0 16px 0;
    color: var(--success-700);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-section ul {
    margin: 0;
    padding-left: 20px;
    color: var(--success-700);
}

.tips-section li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tips-section li:last-child {
    margin-bottom: 0;
}

/* ==================== AUTH PAGES (Login/Register) ==================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--gradient-soft);
    background-attachment: fixed;
}

.auth-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 460px;
    padding: 52px 44px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    opacity: 0.03;
    border-radius: 50%;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(236, 72, 153, 0.3));
    animation: bounce 2s infinite;
}

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

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 24px;
}

.auth-form input {
    padding: 16px 18px;
    font-size: 1rem;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 8px;
}

.auth-divider {
    text-align: center;
    margin: 28px 0;
    color: var(--gray-400);
    font-size: 0.9rem;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.btn-auth-secondary {
    width: 100%;
    padding: 16px;
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
    font-size: 1rem;
    font-weight: 600;
}

.btn-auth-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.error-message {
    background: linear-gradient(135deg, var(--error-50), rgba(254, 226, 226, 0.8));
    color: var(--error-600);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--error-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.success-message {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.8));
    color: var(--success-700);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--success-500);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--gray-500); }
.text-primary { color: var(--primary-600); }
.text-success { color: var(--success-600); }
.text-warning { color: var(--warning-600); }
.text-error { color: var(--error-600); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.w-full { width: 100%; }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes celebrationBounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    75% { transform: scale(1.3) rotate(-5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes celebrationGlow {
    0% { 
        box-shadow: var(--shadow-md);
    }
    50% { 
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), var(--shadow-lg);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: var(--shadow-md);
        transform: scale(1);
    }
}

.animate-fade-in { animation: fadeIn 0.3s ease-out; }
.animate-slide-up { animation: slideInUp 0.4s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* ==================== DASHBOARD METRICS ==================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(30%, 30%);
    transition: var(--transition-slow);
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-200);
}

.metric-card:hover::after {
    transform: translate(20%, 20%) scale(1.3);
    opacity: 0.05;
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.metric-content {
    margin-bottom: 12px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.metric-subtitle {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.priority-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.priority-dot.high {
    background: var(--error-500);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.metric-progress {
    margin-top: 16px;
}

.metric-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.metric-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.metric-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* ==================== INSIGHTS SECTION ==================== */
.insights-section {
    margin-bottom: 32px;
}

.insights-header {
    margin-bottom: 20px;
}

.insights-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--gray-800);
    font-family: var(--font-display);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.insight-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
    opacity: 0.3;
    transition: var(--transition-normal);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.insight-card:hover::before {
    opacity: 0.6;
    width: 6px;
}

.insight-card.insight-success {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(220, 252, 231, 0.7));
    border-color: rgba(34, 197, 94, 0.3);
}

.insight-card.insight-info {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(219, 234, 254, 0.7));
    border-color: rgba(59, 130, 246, 0.3);
}

.insight-card.insight-warning {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.9), rgba(254, 243, 199, 0.7));
    border-color: rgba(245, 158, 11, 0.3);
}

.insight-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.insight-message {
    margin: 0;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==================== CATEGORIES SECTION ==================== */
.categories-section {
    margin-bottom: 32px;
}

.categories-section .section-header {
    margin-bottom: 20px;
}

.categories-section .section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--gray-800);
    font-family: var(--font-display);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.category-progress-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--gray-150);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-progress-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.category-progress-card:hover {
    border-color: var(--primary-300);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.category-progress-card:hover::before {
    opacity: 1;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.category-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 700;
    flex: 1;
}

.category-count {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    white-space: nowrap;
}

.category-progress-bar {
    width: 100%;
    height: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.category-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2.5s infinite;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-percentage {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-items {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ==================== PROFILE SECTION ==================== */
.profile-section {
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 14px;
    }
    
    .metric-icon {
        font-size: 2rem;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .templates-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .checklists-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-form {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .checklists-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
    }
    
    .header-info {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .auth-container {
        padding: 32px 24px;
    }
    
    .create-content,
    .profile-content {
        padding: 28px 24px;
    }
    
    .item-form .form-row {
        flex-direction: column;
    }
    
    .item-quantity {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 16px;
    }
    
    .dashboard-container,
    .checklists-container,
    .detail-container,
    .create-container,
    .profile-container {
        padding: 0 16px;
    }
    
    .dashboard-section,
    .items-section,
    .info-section,
    .progress-section-detail {
        padding: 20px;
    }
    
    .page-header h1,
    .dashboard-header h1,
    .checklists-header h1,
    .detail-header h1 {
        font-size: 1.75rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .metric-card {
        padding: 18px;
    }
    
    .metric-icon {
        font-size: 1.75rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .insights-section,
    .categories-section {
        margin-bottom: 24px;
    }
    
    .insight-card {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .insight-icon {
        font-size: 1.5rem;
    }
    
    .insight-message {
        font-size: 0.9rem;
    }
    
    .category-progress-card {
        padding: 16px;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-200);
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-300);
}

/* ==================== SELECTION ==================== */
::selection {
    background: var(--primary-200);
    color: var(--primary-800);
}

/* ==================== FOCUS VISIBLE ==================== */
:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

/* ==================== COMPACT ITEM LIST ==================== */
/* Layout compacto para lista de itens do checklist */

.item-row {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray-150);
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    transition: all var(--transition-fast);
    overflow: hidden;
}

.item-row:last-child {
    margin-bottom: 0;
}

.item-row:hover {
    border-color: var(--primary-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.item-row.completed {
    background: linear-gradient(135deg, var(--success-50), rgba(220, 252, 231, 0.3));
    border-color: rgba(34, 197, 94, 0.2);
}

.item-row.completed .item-row-title {
    text-decoration: line-through;
    color: var(--gray-500);
}

/* Linha principal compacta - máx 2 linhas */
.item-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 48px;
    cursor: pointer;
}

.item-check-form {
    display: flex;
    flex-shrink: 0;
}

.checkbox-compact {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-500);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.item-row-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-row-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.3;
    word-break: break-word;
}

.item-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.meta-qty {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.meta-spent {
    color: var(--primary-600);
    font-weight: 600;
}

.meta-done {
    background: var(--success-100);
    color: var(--success-700);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.item-row-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.item-row-expand:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.item-row-expand svg {
    transition: transform var(--transition-fast);
}

.item-row.is-open .item-row-expand svg {
    transform: rotate(180deg);
}

.item-row.is-open .item-row-expand {
    background: var(--primary-100);
    color: var(--primary-600);
}

/* Detalhes expansíveis */
.item-row-details {
    display: none;
    padding: 0 12px 12px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    animation: slideDownCompact 0.2s ease-out;
}

@keyframes slideDownCompact {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-row.is-open .item-row-details {
    display: block;
}

.item-row-desc {
    margin: 10px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Form inline compacto */
.item-inline-form {
    margin-top: 10px;
}

.inline-form-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 70px;
    max-width: 100px;
}

.inline-field label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.inline-field input {
    padding: 8px 10px;
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    width: 100%;
    background: white;
}

.inline-field input:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.1);
}

.btn-inline-save {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

/* Ações do item */
.item-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-150);
}

.btn-inline-link {
    padding: 6px 12px;
    font-size: 0.8rem;
    background: white;
    color: var(--primary-600);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-inline-link:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
}

.delete-form {
    display: inline;
}

.btn-inline-delete {
    padding: 8px 12px;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid var(--error-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--error-600);
    transition: all var(--transition-fast);
}

.btn-inline-delete:hover {
    background: var(--error-50);
    border-color: var(--error-400);
}

/* Grupos mais compactos */
.items-group-body {
    padding: 8px;
    background: transparent;
}

/* Grid de informações do item expandido */
.item-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.item-info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-150);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    text-align: center;
}

.item-info-box .info-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-bottom: 4px;
    font-weight: 500;
}

.item-info-box .info-value {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
    font-weight: 700;
}

/* Formulário de edição completo */
.item-edit-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-150);
}

.edit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.edit-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-field label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    margin: 0;
}

.edit-field input {
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    width: 100%;
    background: white;
}

.edit-field input:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.1);
}

.btn-save-full {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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