/* ============================================
   120Beat - Estilos Base y Fundación
   Versión: 2.1 Optimizada
   Última actualización: 03 Oct 2025
   ============================================ */

/* ==========================================
   1. IMPORTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

/* ==========================================
   2. VARIABLES CSS (Design Tokens)
   ========================================== */
:root {
    /* Colores Principales */
    --color-black: #000000;
    --color-gold: #FFD700;
    --color-gold-dark: #B8860B;
    --color-white: #FFFFFF;
    --color-gray-dark: #333333;
    --color-gray-medium: #666666;
    --color-gray-light: #4F4F4F;
    
    /* Estados */
    --color-success: #00FF00;
    --color-danger: #FF0000;
    --color-warning: #FFA500;
    --color-switch: #FF6B35;
    
    /* Transparencias */
    --color-overlay: rgba(0, 0, 0, 0.85);
    --color-gold-glow: rgba(255, 215, 0, 0.3);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Espaciado */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 10px var(--color-gold-glow);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   3. RESET Y NORMALIZACIÓN
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    background: var(--color-black);
    color: var(--color-white);
    min-height: 100vh;
    font-size: var(--font-size-base);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================
   4. LAYOUT BASE
   ========================================== */
.container {
    width: 95%; /* Ocupa el 95% del espacio disponible */
    max-width: 500px; /* Tope para móviles grandes, tablets en vertical */
    margin: 0 auto;
    padding: 20px 16px 120px;
    background: var(--color-black);
    min-height: 100vh;
    position: relative;
}

/* ==========================================
   5. TIPOGRAFÍA BASE
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

/* ==========================================
   6. UTILIDADES GLOBALES
   ========================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-muted {
    color: var(--color-gray-medium);
}

/* ==========================================
   7. NOTIFICACIONES
   ========================================== */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 1000;
    min-width: 250px;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

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

.notification.success {
    background: var(--color-success);
    color: var(--color-black);
}

.notification.error {
    background: var(--color-danger);
    color: var(--color-white);
}

.notification.info {
    background: var(--color-gray-dark);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
}

/* ==========================================
   8. ESTADOS DE CARGA
   ========================================== */
.loading,
.empty-state,
.error-state {
    text-align: center;
    color: var(--color-gray-medium);
    padding: 40px 20px;
    font-size: var(--font-size-sm);
}

.status-message {
    text-align: center;
    color: var(--color-gray-medium);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* ==========================================
   9. ANIMACIONES GLOBALES
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(100, 255, 100, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 15px rgba(100, 255, 100, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(100, 255, 100, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

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

/* ==========================================
   10. PRINT STYLES
   ========================================== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none !important;
    }
}
/* ==================================================== */
/* == INDICADOR DE VERIFICACIÓN (VERSIÓN CORREGIDA)  == */
/* ==================================================== */

.verification-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;                  /* Reducimos el espacio entre ícono y texto */
    padding: 5px 12px;         /* Hacemos el notificador más compacto */
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;          /* <-- CLAVE: Quitamos la negrita (era 700) */
    text-transform: none;      /* Se ve más limpio sin mayúsculas forzadas */
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid;         /* <-- CLAVE: Borde más fino para ser menos dominante */
    margin-bottom: 20px;
}

/* --- ESTILOS PARA CADA ESTADO --- */

/* Icono base (se define en cada estado) */
.verification-pill::before {
    font-size: 14px;
    line-height: 1;
}

/* Estado: Verificada (el que necesitas en verde) */
.verification-pill.verified {
    color: #28a745;             /* Un verde más profesional y agradable */
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}
.verification-pill.verified::before {
    content: '✓';              /* Ícono de checkmark, más claro que un punto */
}

/* Estado: En Revisión */
.verification-pill.in-review {
    color: #fdab3d;             /* Un naranja que va mejor con tus tonos dorados */
    border-color: #fdab3d;
    background: rgba(253, 171, 61, 0.1);
}
.verification-pill.in-review::before {
    content: '…';              /* Puntos suspensivos para "en proceso" */
    font-weight: bold;
}

/* Estado: Acción Requerida (el que probablemente veías en rojo) */
.verification-pill.action-required {
    color: #dc3545;             /* Un rojo menos estridente */
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    cursor: pointer;
}
.verification-pill.action-required::before {
    content: '!';              /* Exclamación para "atención" */
    font-weight: bold;
}

.verification-pill.action-required:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* Mensaje adicional debajo del pill (sin cambios) */
.verification-message {
    font-size: 13px;
    color: #AAAAAA;
    margin-top: -8px;
    margin-bottom: 16px;
    font-style: italic;
    text-align: left;
}
