body.body-back {
    background: linear-gradient(-45deg, #003d7a, #1a5490, #2d6ba8, #4a7db5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
}

.main-wrapper,
.page-wrapper,
.page-content {
    background: transparent !important;
}

@keyframes gradientBG {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;

    opacity: 0;
    transform: translateY(-30px);
    animation: headerEntrance 0.8s ease-out 0.3s forwards;
}

@keyframes headerEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-container::after {
    content: '';
    display: block;
    width: 2px;
    height: 70px;
    background: rgba(255, 255, 255, 0.35);
    order: 1;
    flex-shrink: 0;
}

.logo-shine {
    order: 0;
    flex-shrink: 0;
    width: 500px;
    height: 130px;
    background: linear-gradient(135deg, #003d7a 0%, #2d6ba8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 61, 122, 0.45);
    position: relative;
    overflow: hidden;
    padding: 14px 18px;
}

.logo-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%   { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-shine img {
    max-width: 210px;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 1;
    position: relative;
}

.header-text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-container::after {
        width: 60px;
        height: 2px;
        order: 1;
    }

    .header-text {
        align-items: center;
    }

    .main-title {
        font-size: 1.6rem;
    }
}


.welcome-message {
    opacity: 0;
    transform: translateY(-10px);
    animation: welcomeEntrance 0.7s ease-out 0.55s forwards;
    margin-bottom: 1.25rem;
}

@keyframes welcomeEntrance {
    to { opacity: 1; transform: translateY(0); }
}

.welcome-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    /* background: rgba(255, 255, 255, 0.15); */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
}

.welcome-inner svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.9;
    color: white;
}

.welcome-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

.required-note {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    margin-top: -0.25rem;
}

.required-star {
    color: #c0392b;
    font-weight: 700;
    margin-left: 2px;
}

.form-card {
    opacity: 0;
    transform: translateY(40px);
    animation: cardEntrance 0.8s ease-out 0.7s forwards;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, #003d7a 0%, #1a5490 100%);
    border-radius: 20px 20px 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-footer {
    background: transparent !important;
    border-top: 1px solid #eef0f2 !important;
}


.form-control:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #003d7a !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 61, 122, 0.25) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #003d7a 0%, #2d6ba8 100%);
    border: none;
    color: white;
    padding: 12px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 61, 122, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 61, 122, 0.6);
    color: white;
}

.section-title {
    color: #003d7a;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 3px solid #003d7a;
    display: inline-block;
}

.custom-alert {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border: 2px solid #00bcd4;
    border-radius: 10px;
    color: #006064;
}

.select2-container--default .select2-selection--single {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #003d7a !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 61, 122, 0.25) !important;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #003d7a !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
}

.pre-registro-wrapper {
    position: relative;
    z-index: 1;
}

.footer-copyright {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}