﻿/* ==========================================================
   FUENTES CORPORATIVAS
   ========================================================== */

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ==========================================================
   IDENTIDAD CORPORATIVA TICandBOT
   ========================================================== */

:root {
    /* Colores */

    --tab-primary: #001e57;
    --tab-secondary: #00c8b0;
    --tab-dark: #30302f;
    --tab-light: #f8fafd;
    /* Tipografías */

    --font-heading: 'Gilroy',sans-serif;
    --font-body: 'Plus Jakarta Sans',sans-serif;
    /* Medidas */

    --radius: 18px;
    /* Animaciones */

    --transition: .25s ease;
}

body {
    font-family: var(--font-body);
    color: var(--tab-primary);
    background: #fff;
}


/********************/
/* ENCABEZADO */
/********************/

.inscripcion-header {
    text-align: center;
    padding: 40px 20px 60px;
}

.inscripcion-logo {
    width: 220px;
    margin-bottom: 25px;
}

.inscripcion-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d2a4d;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.inscripcion-subtitulo {
    font-size: 1.25rem;
    color: #31b4a2;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

/********************/
/* CONTENEDOR */
/********************/

.inscripcion-page {
    max-width: 1200px;
    margin: 70px auto;
    padding: 20px;
}

/********************/
/* CABECERA */
/********************/

.inscripcion-header {
    text-align: center;
    margin-bottom: 70px;
}

.inscripcion-logo {
    width: 320px;
    margin-bottom: 35px;
}

.inscripcion-header h1 {
    color: #1D2A4D;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.inscripcion-header p {
    color: #5d6778;
    font-size: 22px;
}

/********************/
/* TARJETAS */
/********************/

.opciones-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.opcion-card {
    width: 320px;
    min-height: 300px;
    background: white;
    border-radius: 22px;
    padding: 45px 30px;
    text-align: center;
    text-decoration: none;
    color: #1D2A4D;
    border: 1px solid #e8e8e8;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .25s;
}

    .opcion-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(29, 42, 77, 0.18);
        text-decoration: none;
        color: #1d2a4d;
        transform: scale(1.12);
    }



    .opcion-card i {
        transition: transform .25s ease;
        font-size: 60px;
        color: #31b4a2;
        margin-bottom: 30px;
    }

    .opcion-card h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
        font-family: var(--font-heading);
        font-weight: 600;
    }

    .opcion-card p {
        color: #666;
        font-size: 18px;
        line-height: 1.5;
        font-family: var(--font-body);
        font-weight: 400;
    }

    .opcion-card {
        position: relative;
        overflow: hidden;
    }

    .opcion-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: #31b4a2;
    }

        .icono-academia {
            color: #31b4a2;
        }

        .icono-colegio {
            color: #1d2a4d;
        }

        .icono-ludoteca {
            color: #31b4a2;
        }

/********************/
/* MOVIL */
/********************/

@media(max-width:900px) {

    .inscripcion-logo {
        width: 220px;
    }

    .inscripcion-header h1 {
        font-size: 34px;
    }

    .inscripcion-header p {
        font-size: 19px;
    }

    .opcion-card {
        width: 100%;
        max-width: 420px;
    }
}

    /* ==========================================================
   TABLA DE COLEGIOS
   ========================================================== */
    #tableColegios.dataTable tbody td {
        font-family: var(--font-heading);
        font-size: 1.2rem;
    }

    table.dataTable tbody td {
        padding: 20px;
    }

    #tableColegios thead {
        display: none;
    }

    table.dataTable tbody td {
        font-family: var(--font-heading);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--tab-primary);
        text-decoration: none;
    }

    #tableColegios tbody a {
        font-family: var(--font-heading);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--tab-primary);
        text-decoration: none;
        transition: var(--transition);
    }

        #tableColegios tbody a:hover {
            color: var(--tab-secondary);
        }

        #tableColegios tbody a::before {
            content: "🏫";
            margin-right: 12px;
        }

    .dataTables_length {
        display: none;
    }

    .dataTables_filter {
        width: 420px;
        border-radius: 30px;
        border: 1px solid #dfe6ef;
        padding: 12px 20px;
        font-family: var(--font-body);
        box-shadow: none;
    }

    /* ---------- Barra de progreso ---------- */

    .inscripcion-steps {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 70px;
        margin: 30px 0 40px;
        text-align: center;
    }

    .step {
        text-align: center;
        color: #9aa5b1;
    }

        .step span {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #e9ecef;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .step.completed span {
            background: #31B4A2;
            color: white;
        }

        .step.active span {
            background: #1D2A4D;
            color: white;
        }

        .step p {
            margin: 0;
            font-size: .9rem;
            font-weight: 600;
        }

    /* ===========================
   TARJETAS DEL FORMULARIO
=========================== */

    .inscripcion-card {
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        margin-bottom: 40px;
        box-shadow: 0 8px 30px rgba(0,0,0,.06);
    }

    .inscripcion-card-title {
        font-family: 'Gilroy',sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: #001E57;
        margin-bottom: 8px;
    }

        .inscripcion-card-title i {
            color: #00C8B0;
            margin-right: 12px;
        }

    .inscripcion-card-subtitle {
        color: #6b7280;
        margin-bottom: 35px;
        font-size: 1rem;
    }

    .inscripcion-card {
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        margin: 40px 0;
        border: 1px solid #e7edf5;
        box-shadow: 0 8px 24px rgba(29,42,77,.06);
    }

        .inscripcion-card .form-group {
            margin-bottom: 34px;
        }

    .inscripcion-section {
        margin-top: 60px;
    }

    .inscripcion-container {
        max-width: 920px;
        margin: 0 auto;
        padding: 20px;
    }

.politica-privacidad {
    max-height: 260px;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #fafbfd;
    text-align: justify;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 25px;
}

.form-check {
    margin-top: 25px;
}

.form-check-label {
    margin-left: 8px;
    line-height: 1.6;
}

.form-text {
    margin-top: 12px;
    color: #6b7280;
}

.enviar-inscripcion {
    margin-top: 40px;
    text-align: center;
}

    .enviar-inscripcion .btn {
        min-width: 280px;
        height: 54px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
    }

.enviar-inscripcion {
    margin-top: 40px;
    text-align: center;
}


/*Botón enviar*/
.btn-enviar {
    background-color: var(--tab-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 42px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(0, 30, 87, .18);
}

    .btn-enviar:hover:not(:disabled) {
        background-color: #163979;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0, 30, 87, .28);
    }

    .btn-enviar:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn-enviar:disabled,
    .btn-enviar.btn-disabled {
        background: #d7dde6;
        color: #7d8794;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }
/* ==========================================================
   INFORMACIÓN COLEGIO INSCRIPCIÓN
   ========================================================== */

#infoCole {
    margin-bottom: 40px;
}

    #infoCole .ql-editor {
        padding: 0;
        font-family: var(--font-body);
        color: var(--tab-primary);
        font-size: 1rem;
        line-height: 1.8;
    }

        #infoCole .ql-editor h1,
        #infoCole .ql-editor h2,
        #infoCole .ql-editor h3 {
            font-family: var(--font-heading);
            color: var(--tab-primary);
            font-weight: 700;
            margin-top: 1.8rem;
            margin-bottom: 1rem;
        }

        #infoCole .ql-editor p {
            margin-bottom: 1rem;
        }

        #infoCole .ql-editor ul {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

        #infoCole .ql-editor strong {
            color: var(--tab-primary);
            font-weight: 700;
        }

        #infoCole .ql-editor a {
            color: var(--tab-secondary);
        }


/* ==========================================================
   INSCRIPCIÓN FINALIZADA
   ========================================================== */

.inscripcion-final {
    max-width: 760px;
    margin: 70px auto;
    text-align: center;
}

.inscripcion-final-icono img {
    width: 260px;
    margin-bottom: 35px;
}

.inscripcion-final-card {
    background: #fff;
    border-radius: 22px;
    padding: 50px;
    border: 1px solid #e7edf5;
    box-shadow: 0 10px 35px rgba(29,42,77,.08);
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: #31B4A2;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
}

.inscripcion-final-titulo {
    font-family: var(--font-heading);
    color: var(--tab-primary);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.inscripcion-final-texto {
    font-size: 1.1rem;
    color: #667085;
    margin-bottom: 35px;
}

.inscripcion-final-subtitulo {
    font-family: var(--font-heading);
    color: var(--tab-primary);
    font-size: 1.3rem;
    margin: 35px 0 25px;
}

.btn-nueva-inscripcion {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--tab-primary);
    color: white;
    padding: 16px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

    .btn-nueva-inscripcion:hover {
        background: #16326f;
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
    }

/* ==========================================================
   BOTÓN VOLVER
   ========================================================== */


.btn-volver {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: white;
    color: var(--tab-primary);
    border: 2px solid var(--tab-primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

    .btn-volver:hover {
        background: var(--tab-primary);
        color: white;
        text-decoration: none;
    }