:root {
    --color-ubam-light-blue: rgb(227, 242, 253);
    --color-ubam-blue: rgb(4, 178, 217);
    --color-ubam-dark-blue: rgb(18, 124, 166);
    --color-ubam-dark-pink: rgb(186, 7, 91);
    --color-ubam-light-red: rgb(255, 236, 248);
}

/* --------------------------------------------
   Font Face Declaration
--------------------------------------------- */
@font-face {
    font-family: 'Oleo Script';
    src: url('/fonts/OleoScript-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* --------------------------------------------
   Typography Styles
--------------------------------------------- */
.subtitle {
    font-family: "Oleo Script", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4rem;
}

.cei-title {
    font-size: 4rem;
    line-height: 1;
}

.slogan-text {
    font-size: 0.9rem;
}

#not-found-button {
    font-family: "Oleo Script", serif;
    font-size: 2rem;
    color: rgb(18, 124, 166);
}

.btn-ubam {
    font-family: "Oleo Script";
    text-decoration: none;
    background-color: var(--color-ubam-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    align-items: center;
    align-content: center;
    gap: 0.5rem;
}

.filter-white-ubam {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* --------------------------------------------
   Background / Container Styles
--------------------------------------------- */
main {
    height: auto;
    min-height: 100dvh;
}

#form-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url("/images/ubam-cei/oxford.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.back-home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.75);
    color: rgb(217, 24, 114);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-home-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-card {
    background-color: rgba(33, 37, 41, 0.8);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.cei-logo {
    transition: all 0.3s ease;
}

.cei-divider {
    width: 1px;
    height: 60px;
    background-color: white;
    margin: 0 15px;
}

.cei-description {
    padding-left: 15px;
}

/* --------------------------------------------
   Button Styles
--------------------------------------------- */
.btn,
#loadingButton {
    background-color: rgb(217, 24, 114);
    transition: 0.5s ease;
    border: none;
    padding: 12px;
}

.btn:hover {
    background-color: rgb(186, 7, 91);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* --------------------------------------------
   Form Styles
--------------------------------------------- */
#formAspirante {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.input-group-text,
.form-control {
    padding: 12px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 24, 114, 0.25);
    border-color: transparent;
}

.forgot-password-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: rgb(217, 24, 114);
    text-decoration: underline;
}

/* ===============================
   Modal
   =============================== */
.modal-header {
    border-bottom: 0;
    padding: 1.5rem;
}

.modal-footer {
    border-top: 0;
    padding-bottom: 2rem;
}

#modalUserName {
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* --------------------------------------------
   Alert Styles
--------------------------------------------- */
.custom-alert {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    margin: 1rem 0;
}

.custom-alert-danger {
    background-color: var(--color-ubam-light-red) !important;
    color: var(--color-ubam-dark-pink);
}

.custom-alert-warning {
    background-color: var(--color-ubam-light-blue) !important;
    color: var(--color-ubam-dark-blue);
}

.custom-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
}

.custom-alert-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.custom-alert-danger .custom-alert-icon img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(7490%) hue-rotate(312deg) brightness(95%) contrast(105%);
}

.custom-alert-warning .custom-alert-icon img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(72%) saturate(1021%) hue-rotate(170deg) brightness(90%) contrast(95%);
}

.custom-alert-text {
    flex: 1;
    word-wrap: break-word;
}

/* --------------------------------------------
   Responsive Styles
--------------------------------------------- */
@media (max-width: 767px) {
    .cei-title {
        font-size: 3.5rem;
    }

    .cei-description {
        padding-left: 0;
        text-align: center;
    }

    .cei-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .cei-title {
        font-size: 3rem;
    }

    .cei-logo {
        width: 70px;
        height: 70px;
    }

    .subtitle {
        font-size: 3rem;
    }

    .input-group-text,
    .form-control {
        padding: 10px;
    }
}

/*
    Update  form oxford-certificates
*/

.container-custom,
.container {
    border: none !important;
}

.container-custom {
    background-color: #c7c9ca;
    border: none !important;
    padding: 12px;
}

/* Checkbox Styles */
.form-check-input:checked {
    background-color: rgb(217, 24, 114);
    border-color: rgb(242, 5, 159);
}

.form-check-input:focus {
    outline: none;
    border-color: rgb(242, 5, 159);
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
}

.contain-radiobuttons {
    flex-wrap: nowrap;
}

.input-group-text {
    border: none !important;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0 !important;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-ubam-light-pink);
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
}