/* =====================================================
   FORMULARIO ADMISION 2027
   Colegio Santa Ana Liberia
===================================================== */
:root {
    --thisHeader:var(--redPrincipal);
    --thisForm:#0066CC;
}
body{
    min-height:100vh;
    background:
        linear-gradient(
            135deg,
            rgba(122,31,43,.18),
            rgba(255,255,255,.90),
            rgba(0,102,204,.18)
        ),
        radial-gradient(circle at top left, rgba(122,31,43,.35), transparent 40%),
        radial-gradient(circle at bottom right, rgba(0,102,204,.30), transparent 40%),
        #f5f5f5;
    position:relative;
}

/* =========================
   GENERAL
========================= */
.form-container {
    width: 100%;
    height: 100%;
    overflow:auto;
    padding-left: 20%;
    padding-right: 20%;
    padding-bottom:50px;
}
/* =========================
   LOGO
========================= */
.logoAdmision {
    width: 130px;
    height: auto;
    margin-top: 30px;
    filter:drop-shadow(0 8px 10px rgba(0,0,0,.15));
}
/* =========================
   TITULOS
========================= */
h1 {
    color: var(--fontdark);
    letter-spacing: -1px;
}
h3 {
    font-size: 1.6rem;
    color: var(--eventRed);
}
/* =========================
   TARJETAS
========================= */
.card {
    border-radius:20px;
    overflow:hidden;
    position:relative;
    border:none;
    background:white;
    box-shadow: 0 10px 30px rgba(0,0,0,.10), 0 2px 8px rgba(139,0,0,.08);
    animation:aparecer .5s ease;
    transition:.3s ease;
}
.card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background:var(--thisHeader);
}
.card-header {
    background: var(--thisHeader);
    color: white;
    padding: 18px 25px;
    border-bottom:1px solid rgba(255,255,255,.2);
}
.card-body {
    padding: 30px;
    background: linear-gradient(to bottom, #fffdfd 0%, #fff6f6 100%);
}
.card-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}
/* =========================
   FORMULARIOS
========================= */
.form-label {
    font-weight: 600;
    color: #444;
}
.form-control,
.form-select {
    border-radius:12px;
    padding:13px 16px;
    background:#fff;
    border:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,.03);
}
.form-control:hover,
.form-select:hover{
    border-color:var(--thisForm);
}
.form-control:focus,
.form-select:focus {
    border-color:#8b0000;
    box-shadow:
        0 0 0 .25rem rgba(139,0,0,.15),
        0 5px 15px rgba(139,0,0,.08);
}
textarea.form-control {
    resize: vertical;
}
/* =========================
   RADIO / CHECKBOX
========================= */
.form-check-input {
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--thisHeader);
    border-color: var(--thisForm);
}
.form-check-label {
    cursor: pointer;
}
/* =========================
   ALERTA
========================= */
.alert-warning {
    border-radius: 12px;
    /*color: var(--fontLight);
    background-color: rgb(255, 133, 133);*/
}
/* =========================
   BOTON
========================= */
.btn-danger {
    background:
        linear-gradient(
            135deg,
            #007bff,
            #0056b3
        );
    border:none;
    border-radius:40px;
    padding:15px 45px;
    font-size:1.1rem;
    box-shadow:
        0 8px 20px rgba(0,123,255,.35);
}
.btn-danger:hover {
    background:
        linear-gradient(
            135deg,
            #0056b3,
            #007bff
        );
    transform:translateY(-3px);
    box-shadow:
        0 12px 30px rgba(0,123,255,.45);
}
.btn-danger:disabled{
    background:
        linear-gradient(
            135deg,
            #b5d8fc,
            #8da1b5
        );
}
/* =========================
   ICONOS
========================= */
.card-header i {
    width: 25px;
    font-size: 25px;
    color: white;
}
/* =========================
   CAMPOS INVALIDOS
========================= */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}
.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
}
/* ==============================
   MODAL MENSAJES
============================== */
#modalMensaje .modal-content{
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
#modalMensaje .modal-header{
    background-color: #b40000;
    color: white;
    border-bottom: none;
    padding: 1.2rem 1.5rem;
}
#modalMensaje .modal-title{
    font-weight: 700;
}
#modalMensaje .modal-body{
    padding: 2rem 1.5rem;
    font-size: 1.05rem;
    text-align: center;
    color: #444;
}
#modalMensaje .modal-footer{
    border-top: none;
    justify-content: center;
    padding-bottom: 1.5rem;
}
#modalMensaje .btn-danger{
    min-width: 120px;
    border-radius: 25px;
    font-weight: 600;
}
.modal-icono{
    font-size: 3rem;
    margin-bottom: 1rem;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   FORMULARIO ESTUDIANTES REGULARES 2027
   Colegio Santa Ana Liberia
===================================================== */
.estudiantes-regulares{
    background:
        linear-gradient(
            135deg,
            rgba(122,31,43,.18),
            rgba(255,255,255,.90),
            rgba(0,102,204,.18)
        ),
        radial-gradient(circle at top left, rgba(1, 175, 255, 0.99), transparent 40%),
        radial-gradient(circle at bottom right, rgba(145, 188, 231, 0.3), transparent 40%),
        #f5f5f5;
}
.card-header-regulares {
    background:#6079af;
    color: white;
    padding: 18px 25px;
    border-bottom:1px solid rgba(255,255,255,.2);
}
.card-regulares {
    border-radius:20px;
    overflow:hidden;
    position:relative;
    border:none;
    background:white;
    box-shadow: 0 10px 30px rgba(0,0,0,.10), 0 2px 8px rgba(2, 0, 139, 0.08);
    animation:aparecer .5s ease;
    transition:.3s ease;
}
.card-regulares::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background: #6079af;
}
.card-body-regulares {
    padding: 30px;
    background: linear-gradient(to bottom, #fffdfd 0%, #f6f7ff 100%);
}
/* =========================
   RESPONSIVE
========================= */

/* =========================
   TABLET
========================= */
@media(max-width:1000px){
    .form-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .logoAdmision {
        width: 100px;
    }
    .card-header {
        padding: 12px 25px;
    }
    .form-control,
    .form-select {
        border-radius:5px;
        padding: 5px 16px;
    }
    .btn-danger {
        border-radius:25px;
        padding:10px 45px;
    }
}