/* Estilos Modernos y Premium para Misión Verano */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Colores base */
    --bg-app: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #020617 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Lucas Theme (Blue default) */
    --primary: #3b82f6;
    --primary-light: rgba(59, 130, 246, 0.2);
    --primary-dark: #93c5fd;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --primary-shadow: rgba(59, 130, 246, 0.3);
    
    /* Gabriel Theme (Green default) */
    --secondary: #10b981;
    --secondary-light: rgba(16, 185, 129, 0.2);
    --secondary-dark: #6ee7b7;
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --secondary-shadow: rgba(16, 185, 129, 0.3);

    /* Otros estilos */
    --card-bg: rgba(30, 41, 59, 0.75);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    
    /* Horario laboral */
    --warn-bg: rgba(217, 119, 6, 0.3);
    --warn-border: #f59e0b;
    --warn-text: #fde68a;
    --warn-glow: rgba(245, 158, 11, 0.2);
}

/* Temas dinámicos asignados por JS */
body.lucas-theme {
    --primary: #3b82f6;
    --primary-light: rgba(59, 130, 246, 0.2);
    --primary-dark: #93c5fd;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --primary-shadow: rgba(59, 130, 246, 0.35);
    --bg-app: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #172554 100%);
}

body.gabriel-theme {
    --primary: #10b981;
    --primary-light: rgba(16, 185, 129, 0.2);
    --primary-dark: #6ee7b7;
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --primary-shadow: rgba(16, 185, 129, 0.35);
    --bg-app: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #065f46 100%);
}

body.admin-theme {
    --primary: #6366f1;
    --primary-light: rgba(99, 102, 241, 0.2);
    --primary-dark: #a5b4fc;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-shadow: rgba(99, 102, 241, 0.3);
    --bg-app: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --card-bg: #1e293b;
    --card-border: #334155;
}

/* Reset general */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-app);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 80px; /* Espacio para barra de navegación móvil */
    transition: background 0.5s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Contenedor Principal */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

@media(min-width: 768px) {
    .app-container {
        max-width: 1024px;
        padding: 24px;
    }
}

/* Barra Superior / Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    padding: 12px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.logo-section h1 {
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-section span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Selector de Niños */
.kids-selector {
    display: flex;
    gap: 8px;
}

.kid-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(30, 41, 59, 0.8);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.kid-btn.active {
    border-color: var(--primary);
    box-shadow: 0 4px 10px var(--primary-shadow);
}

.avatar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lucas-btn .avatar-dot { background-color: #3b82f6; }
.gabriel-btn .avatar-dot { background-color: #10b981; }

/* Marcador de Puntos (Jars / Alcancías) */
.jars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.jar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    padding: 12px 8px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.jar-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.jar-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Diseño visual de frasco llenándose */
.jar-visual-container {
    height: 60px;
    width: 45px;
    border: 2.5px solid #475569;
    border-radius: 6px 6px 12px 12px;
    margin: 8px auto;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.jar-visual-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
}

.jar-available .jar-visual-fill {
    background: linear-gradient(to top, #fbbf24, #f59e0b);
}

.jar-savings .jar-visual-fill {
    background: linear-gradient(to top, #60a5fa, #3b82f6);
}

.jar-tithe .jar-visual-fill {
    background: linear-gradient(to top, #f472b6, #ec4899);
}

.jar-points-count {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Botones rápidos en el marcador */
.scoreboard-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.score-quick-btn {
    padding: 8px 16px;
    border-radius: 12px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--primary-shadow);
    transition: all 0.2s ease;
}

.score-quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--primary-shadow);
}

.score-reset-btn {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #475569;
    background: rgba(255, 255, 255, 0.05);
    color: #f87171;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.score-reset-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Pestañas de la Sección */
.tabs-navigation {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.tabs-navigation::-webkit-scrollbar {
    display: none; /* Chrome */
}

.tab-nav-btn {
    flex: 1;
    min-width: 90px;
    padding: 10px 8px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Pestañas de Días */
.days-navigation {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.days-navigation::-webkit-scrollbar {
    display: none;
}

.day-tab-btn {
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.day-tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 8px var(--primary-shadow);
}

/* Tarjetas y Contenedores */
.cards-list {
    display: grid;
    gap: 12px;
}

.premium-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-1px);
}

/* Tarjeta de Tarea */
.task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.task-info {
    flex: 1;
}

.task-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.task-title {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.task-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.task-meta {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
}

.badge-blue { background: rgba(59,130,246,0.2); color: #93c5fd; }
.badge-green { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.badge-purple { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.badge-amber { background: rgba(245,158,11,0.2); color: #fcd34d; }

/* Control del Checkbox */
.checkbox-container {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-checkbox {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid #475569;
    appearance: none;
    outline: none;
    cursor: pointer;
    background: rgba(30, 41, 59, 0.9);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-checkbox:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.task-checkbox:checked::after {
    content: "✓";
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Efecto Completado */
.task-card.completed {
    opacity: 0.55;
}

.task-card.completed .task-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Horario Laboral de Papá */
.task-card.work-hours {
    background: var(--warn-bg);
    border: 2px solid var(--warn-border);
    box-shadow: 0 4px 10px var(--warn-glow);
}

.task-card.work-hours .task-time {
    color: var(--warn-text);
}

.work-hours-alert {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
}

/* Rutina Nocturna */
.bedtime-section {
    margin-top: 24px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 24px;
    padding: 16px;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 25px rgba(30, 27, 75, 0.4);
}

.bedtime-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bedtime-header h3 {
    color: #fbbf24;
}

.bedtime-section .premium-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
}

.bedtime-section .task-title {
    color: white;
}

.bedtime-section .task-desc {
    color: #cbd5e1;
}

.bedtime-section .task-checkbox {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.bedtime-section .task-checkbox:checked {
    background: #fbbf24;
    border-color: #fbbf24;
}

/* Audio y TTS */
.tts-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #334155;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.tts-btn:hover {
    transform: scale(1.05);
    background: var(--primary-light);
    border-color: var(--primary);
}

.speaking-waves {
    display: none;
    align-items: center;
    gap: 2px;
    height: 12px;
}

.speaking-waves span {
    width: 2.5px;
    height: 100%;
    background-color: var(--primary);
    border-radius: 2px;
    animation: wave-bounce 0.6s infinite ease-in-out alternate;
}

.speaking-waves span:nth-child(2) { animation-delay: 0.15s; }
.speaking-waves span:nth-child(3) { animation-delay: 0.3s; }

@keyframes wave-bounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Devocionales e Inicio */
.devotional-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-left: 5px solid #d97706;
}

.devotional-title {
    font-family: var(--font-heading);
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.devotional-verse {
    font-family: var(--font-heading);
    color: #451a03;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.devotional-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #fdba74;
}

.devotional-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.parent-note-card {
    background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(217,119,6,0.1) 100%);
    border: 1px dashed #f59e0b;
    border-radius: 20px;
    padding: 14px;
    font-style: italic;
    color: #fcd34d;
    margin-bottom: 16px;
    position: relative;
}

.parent-note-card::before {
    content: "✍️ Nota de papá y mamá:";
    display: block;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Tienda */
.shop-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.shop-filter-select {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #475569;
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color-scheme: dark;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media(min-width: 600px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reward-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reward-level {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}

.level-bronce { background: rgba(234, 88, 12, 0.2); color: #fdba74; }
.level-plata { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.level-oro { background: rgba(202, 138, 4, 0.2); color: #fde047; }

.reward-cost-badge {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.95rem;
    margin: 8px 0;
}

.redeem-btn {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.redeem-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Biblia y Progreso */
.bible-progress-card {
    border-left: 5px solid #3b82f6;
}

.bible-bar-container {
    background: rgba(255,255,255,0.1);
    height: 12px;
    border-radius: 6px;
    margin: 8px 0;
    overflow: hidden;
}

.bible-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.5s ease;
}

.bible-log-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.bible-input {
    flex: 2;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #475569;
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-main);
}

.bible-btn {
    flex: 1;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* Diario de Oración */
.prayer-card {
    border-left: 5px solid #a855f7;
}

.prayer-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.prayer-input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #475569;
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-main);
}

.prayer-add-btn {
    padding: 8px 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.prayer-item {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
}

.prayer-item.answered {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.prayer-answer-bubble {
    margin-top: 6px;
    padding: 6px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #86efac;
}

/* Insignias e Logros */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.achievement-badge {
    text-align: center;
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--card-border);
    padding: 10px 4px;
    border-radius: 16px;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.achievement-badge.unlocked {
    opacity: 1;
    filter: grayscale(0%);
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    box-shadow: 0 4px 10px var(--primary-shadow);
}

.achievement-badge.badge-premium.unlocked {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.achievement-badge.badge-premium.unlocked .achievement-name {
    color: #fbbf24;
}

.achievement-icon {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.achievement-name {
    font-size: 0.7rem;
    font-weight: 700;
}

/* Modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal-btn {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

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

.modal-btn-cancel {
    background: #e2e8f0;
    color: #475569;
}

/* Barra de Navegación Móvil */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 500;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.03);
}

.bottom-nav-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bottom-nav-btn.active {
    color: var(--primary);
    font-weight: 700;
}

.bottom-nav-icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

/* DISEÑO DE PADRES / BACKOFFICE */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 768px) {
    .admin-grid {
        grid-template-columns: 250px 1fr;
    }
}

.admin-sidebar {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--card-border);
}

.admin-menu-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.admin-menu-item.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.admin-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--card-border);
}

/* Formularios de CRUD */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #475569;
    background: rgba(0,0,0,0.2);
    color: var(--text-main);
    font-family: var(--font-primary);
    color-scheme: dark;
}

/* Fix for native select options in dark mode */
select option {
    background-color: #1e293b;
    color: #f8fafc;
}

.form-row {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th, .admin-table td {
    padding: 10px;
    border-bottom: 1px solid #334155;
    text-align: left;
}

.admin-table th {
    background: rgba(0,0,0,0.3);
}

/* Badges de nivel en el panel de admin */
.badge-level-bronce { background: rgba(234, 88, 12, 0.2); color: #fdba74; }
.badge-level-plata  { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.badge-level-oro    { background: rgba(202, 138, 4, 0.2); color: #fde047; }

/* Tarea cooperativa */
.task-card.cooperative-task {
    border: 2px solid #f472b6;
    background: rgba(244, 114, 182, 0.04);
}

/* Contenedor híbno con descripción */
.hymn-description-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
    font-style: italic;
}
