/*********************************
REGISTER
*********************************/

.register {
    width: 100%;
     margin-bottom: 0;

}

.register_section {
    width: 100%;
    /*background: #ffb606;*/
    padding: 156px 0 161px;
     padding-top: 156px;
    padding-bottom: 161px;
}

.register_content {
    width: 700px;
}

.register_title {
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.63;
}

.register_text {
    color: #FFFFFF;
    font-weight: 500;
    margin-top: 24px;
    line-height: 1.8;
}


/*********************************
BOOTSTRAP GRID FIX
*********************************/

.register .row {
    margin-left: -15px;
    margin-right: 0;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
}

.nopadding {
    padding: 0 !important;
}


/*********************************
SEARCH / FORMULARIO
*********************************/

.search_section {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 156px 0 161px;
}

.search_background {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.search_content {
    position: relative;
    z-index: 2;
    padding: 0 100px;
}

.search_title {
    margin-bottom: 40px;
    color: #000;
}


/*********************************
FORM
*********************************/

.search_form {
    margin-top: 0;
}

.input_field {
    width: 100%;
    height: 42px;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding-left: 25px;
    margin-bottom: 20px;
}

.input_field:focus {
    outline: none;
    border-color: #ffb606;
}

.search_submit_button {
    width: 100%;
    height: 48px;
    background: #ffb606;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.search_submit_button:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/*********************************
MULTI SELECT
*********************************/

.input_field.multi_select_box {
    height: auto;
    padding: 20px 22px;
    line-height: 2;
}

.multi_option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.multi_option input {
    margin: 0;
}

.multi_option label {
    margin: 0;
    cursor: pointer;
}


/*********************************
RESPONSIVE
*********************************/

@media (max-width: 991px) {
    .register_content {
        width: 100%;
        padding: 0 40px;
    }

    .search_content {
        padding: 0 40px;
    }
}

@media (max-width: 575px) {
    .register_section,
    .search_section {
        padding: 100px 0;
    }

    .search_content {
        padding: 0 20px;
    }
}


.register .row {
    display: flex !important;
    flex-wrap: wrap;
}

/* === FIX BOOTSTRAP GRID REGISTER (LIMPIO) === */
.register .row,
.register .col-lg-6 {
    margin: 0 !important;

}

/* === FORM ESPACIADO === */
.search_form .input_field {
    margin-bottom: 20px;
}

.search_submit_button {
    margin-top: 20px;
}


/* === FIX DEFINITIVO FORMULARIO (MÁRGENES EXTERNOS) === */
.search_section {
    margin: 0 !important;
}

.search_section * {
    margin-left: 0;
    margin-right: 0;
}


/* === FIX FINAL: FORMULARIO PEGADO AL FOOTER === */
.register .col-lg-6:last-child,
.register .col-lg-6:last-child .search_section {
    margin-bottom: 0 !important;
}

.register {
    margin-bottom: 0 !important;
}



/* ===== EXTENSIÓN VISUAL FORMULARIO HASTA FOOTER ===== */
.search_section {
    position: relative;
}

.search_section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -120px;   /* altura visual del footer */
    height: 120px;
    /*background: inherit;*/
}





.register_with_footer {
    padding-bottom: 0;
}

.register_with_footer .footer {
    margin-top: 0;
}

/* ===== FIX DEFINITIVO: FOOTER PEGADO A REGISTER ===== */
.register + .footer,
.register + footer {
    padding-top: 0 !important;
}

footer,
.footer {
    margin-top: -10px !important;
}

/* =====================================================
   FIX MOBILE – REGISTER + FORMULARIO
   ===================================================== */
@media (max-width: 991px) {

    /* Apilar correctamente */
    .register .row {
        display: block;
    }

    /* Quitar fondos separados */
    .register_section,
    .search_section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Eliminar espacios fantasma */
    .register,
    .search_section,
    .register_section {
        margin: 0 !important;
    }

    /* Alinear contenido */
    .search_content {
        padding: 0 20px !important;
    }

    .register_content {
        padding: 0 20px !important;
    }
}



/* ===== FULL WIDTH REAL ===== */
.register-full,
.footer-full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Quitar padding Bootstrap */
.register-full .container-fluid,
.footer-full .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Quitar gutters Bootstrap */
.no-gutters {
    margin-left: 0;
    margin-right: 0;
}

.no-gutters > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}


/* Contenido interno controlado */
.register_section .register_content,
.search_section .search_content {
    padding: 0 80px;
}

/* Mobile */
@media (max-width: 991px) {
    .register_section .register_content,
    .search_section .search_content {
        padding: 0 20px;
    }
}

/* =====================================================
   ELIMINAR BLANCO DESPUÉS DEL FOOTER (FIX FINAL)
   ===================================================== */

/* Reset base */
html, body {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* Footer sin espacios externos */
footer,
.footer {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

/* Evitar espacios creados por pseudo-elementos */
footer::after,
footer::before {
    display: none !important;
    content: none !important;
}

.footer .container,
.footer .container-fluid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}



/* =====================================================
   Logotipo de fondo
   ===================================================== */


/* Contenedor del texto */
.campus_text_wrapper {
    position: relative;
    z-index: 1;
    padding: 40px;
}

/* Logo como fondo transparente */
.logo_de_fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 320px;
    height: 320px;

    background-image: url("../images/logo-CampusClass150.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.08; /* controla la transparencia */
    z-index: 0;
    pointer-events: none;
}

/* Texto por sobre el logo */
.campus_text_wrapper h1,
.campus_text_wrapper p {
    position: relative;
    z-index: 2;
}




