﻿/*DISEÑO DE PORTAL DE RESULTADOS*/
/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
}

/* LOGO flotante */
.logo-container {
    position: absolute; /* flotante sobre columnas */
    top: 50%; /* 50% desde arriba */
    left: 50%; /* 50% desde izquierda */
    transform: translate(-50%, -50%); /* centra perfectamente */
    z-index: 10; /* sobre las columnas */
}

.logo-img {
    max-width: 150px; /* ajusta tamaño */
    height: auto;
}

/* WRAPPER flex para columnas y logo */
.wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative; /* altura total menos logo */
}

/* COLUMNA IZQUIERDA */
.left-column {
    background-color: #8b0000; /* rojo oscuro */
    color: white;
    flex: 1; /* ocupa 50% */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*align-items: flex-start;*/
}

    .left-column .top-content {
        display: flex;
        flex-direction: column;
        justify-content: center; /* centra verticalmente dentro del bloque */
        height: calc(100% - 80px); /* ajustar si quieres un padding extra para .address */
    }

    .left-column h2 span {
        font-size: 5.2rem;
        text-transform: uppercase;
        font-weight: 900;
        display: inline-block; /* solo ocupa el ancho del texto */
        margin-bottom: 15px;
    }

        .left-column h2 span:after {
            content: "";
            display: block; /* crea un bloque debajo del texto */
            width: 100%; /* 100% del ancho del h2, que ya es solo del texto */
            border-bottom: 3px solid #fff; /* línea */
            margin-top: 5px; /* espacio entre texto y línea */
        }

    .left-column p {
        margin-bottom: 12px;
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .left-column .address {
        font-size: 12px;
        line-height: 1.3;
        margin-top: auto; /* pega al fondo */
        text-align: center;
    }

/* COLUMNA DERECHA */
.right-column {
    background-color: white;
    flex: 1; /* ocupa 50% */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* FORMULARIO */
form {
    width: 100%;
    max-width: 400px;
}

    form select,
    form input[type="text"] {
        width: 100%;
        padding: 12px 15px;
        /*font-size: 1rem;*/
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
        transition: border-color 0.3s;
    }

        form select:focus,
        form input[type="text"]:focus {
            border-color: #8b0000;
            outline: none;
        }

.g-recaptcha {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #8b0000;
    border: none;
    color: white;
    /*font-size: 1.1rem;*/
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button[type="submit"]:hover {
        background-color: #a60000;
    }

.credits {
    /*margin-top: 40px;*/
    text-align: center;
    font-size: 1.1rem !important;
    color: #666;
    user-select: none;
}

/* Responsivo para móviles */
@media(max-width: 768px) {
    .wrapper {
        flex-direction: column;
        align-items: center;
    }

    .left-column h2 span {
        font-size: 4.0rem; /* tamaño más pequeño en móviles */
    }

    .logo-container {
        position: relative; /* ahora se pone arriba */
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .left-column,
    .right-column {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    form {
        max-width: 100%;
    }

    .logo-no-resultado {
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 20px; /* opcional ajustar */
        width: 50% !important;
    }
}



/*DISEÑO RESULTADOS ADMISIÓN*/
/* ===== HEADER ROJO SUPERIOR ===== */
.resultado-header {
    background-color: #b30000;
    color: white;
    text-align: center;
    padding: 35px 10px;
}

.logo-header-center {
    /*height: 60px;*/
    /*margin-bottom: 15px;*/
}

.header-title {
    padding-top: 30px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

/* ===== CONTENEDOR GENERAL ===== */
.resultado-container {
    background-color: #f5f5f5;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

/* ===== TARJETA CENTRAL ===== */
.resultado-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 30px 50px 30px 50px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ===== DATOS ===== */
.nombre {
    text-align: center;
/*    margin-bottom: 30px;*/
    font-weight: 600;
}

.info-list {
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

    .info-item:last-child {
        border-bottom: none;
    }

.label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 6px;
}

.value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* ===== PUNTAJE ===== */
.puntaje-section {
    text-align: center;
    margin-bottom: 40px;
}

.puntaje-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: #777;
}

.puntaje {
    font-size: 64px;
    font-weight: 700;
    color: #222;
}

/* ===== ESTADO ===== */
.estado-section {
    text-align: center;
    margin-bottom: 50px;
}

.estado {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
}

.linea-estado {
    width: 0;
    height: 4px;
    margin: 10px auto 0;
}

/* Colores según estado */
/* SUCCESS */
.estado-success {
    color: #198754; /* verde bootstrap */
}

    .estado-success .linea-estado {
        background-color: #198754;
    }

/* DANGER */
.estado-danger {
    color: #dc3545; /* rojo bootstrap */
}

    .estado-danger .linea-estado {
        background-color: #dc3545;
    }

/* WARNING */
.estado-warning {
    color: #f59e0b; /* naranja elegante */
}

    .estado-warning .linea-estado {
        background-color: #f59e0b;
    }

/* ===== BOTONES ===== */
.acciones {
    text-align: center;
}

.linea-animada {
    width: 0;
    height: 4px;
    background-color: currentColor;
    margin: 8px auto 0;
}


/*DISEÑO RESULTADOS NO ENCONTRADOS*/
@font-face {
    font-family: 'Vitesse'; /* nombre que usarás en CSS */
    src: url('../css/Vitesse-Bold_0.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Regular */
@font-face {
    font-family: 'Geogtq';
    src: url('../css/Geogtq-Rg.otf') format('opentype');
    font-weight: 400; /* normal */
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'Geogtq';
    src: url('../css/Geogtq-Md.otf') format('opentype');
    font-weight: 500; /* medium */
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'Geogtq';
    src: url('../css/Geogtq-Bd.otf') format('opentype');
    font-weight: 700; /* bold */
    font-style: normal;
}

.logo-no-resultado {
    position: fixed; /* fijo arriba izquierda */
    top: 30px;
    left: 30px;
}

.content-no-resultado {
    max-width: 600px;
    text-align: center; /* centra texto */
    font-size: 15px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

    .dots span {
        width: 9px; /* antes 6px */
        height: 9px; /* antes 6px */
        margin: 0 6px; /* un pelín más de separación */
        background: #f5c400;
        border-radius: 50%;
    }