/* =============================================================================
   VERIFICATION PAGE – IGRC · PYMES
   Estética IGRC: sobria, tipográfica, premium, responsive.
   Sin dependencias externas. Cumple RGPD (fuentes locales).
   ============================================================================= */


@font-face {
    font-family: 'Inter';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
    --color-bg: #051d2c;
    --color-text: #ffffff;
    --color-muted: rgba(255,255,255,0.7);
    --color-valid: #2ecc71;
    --color-revoked: #e74c3c;
    --color-notfound: #95a5a6;
    --color-seal-bg: rgba(255,255,255,0.05);
    --color-seal-border: rgba(255,255,255,0.2);
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.verification {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-stack);
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.verification-card {
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    backdrop-filter: blur(2px);
}

/* Marca */
.brand {
    margin-bottom: 2.5rem;
}

.brand-mark {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.75rem;
    display: inline-block;
}

/* Información de la credencial */
.credential-info {
    margin-bottom: 2.5rem;
}

.credential-badge {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.titular-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: #fff;
}

.issue-date {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-muted);
}

.not-found-message {
    font-size: 1rem;
    color: var(--color-muted);
    margin-top: 1rem;
}

/* Sello de estado */
.seal {
    margin: 2.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--color-seal-border);
    background: var(--color-seal-bg);
    transition: border-color 0.3s ease;
}

.seal.valid {
    border-color: var(--color-valid);
    background: rgba(46, 204, 113, 0.05);
}

.seal.revoked {
    border-color: var(--color-revoked);
    background: rgba(231, 76, 60, 0.05);
}

.seal.not_found {
    border-color: var(--color-notfound);
    background: rgba(149, 165, 166, 0.05);
}

.seal-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.seal.valid .seal-text { color: var(--color-valid); }
.seal.revoked .seal-text { color: var(--color-revoked); }
.seal.not_found .seal-text { color: var(--color-notfound); }

.seal-icon {
    font-size: 1.5rem;
    font-weight: 400;
}

/* Pie */
.verification-footer {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
}

.verification-footer strong {
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

.footer-url {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 600px) {
    body.verification {
        padding: 1.5rem;
    }

    .verification-card {
        padding: 2rem 1.5rem;
    }

    .titular-name {
        font-size: 1.5rem;
    }

    .seal {
        width: 100px;
        height: 100px;
    }
}

/* Enlace de vuelta al inicio */
.back-to-home {
    margin-top: 2rem;
    text-align: center;
}

.back-to-home a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.back-to-home a:hover {
    color: rgba(255, 255, 255, 0.8);
}