﻿/* --------------------------------------------
   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);
}

/* --------------------------------------------
   Background / Container Styles
--------------------------------------------- */
main {
    height: auto;
    min-height: 100dvh;
}

#login-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("/images/ubam.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);
}

.login-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, #loadingButtonLogin {
    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
--------------------------------------------- */
#loginForm {
    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;
}

#errorAlertLogin {
    transition: all 0.3s ease;
}

.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;
}

/* --------------------------------------------
   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;
    }

    .login-card {
        margin: 0 15px;
    }
}

@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;
    }
}