﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Glacial Indifference';
    src: url('../Content/Fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('../Content/Fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Glacial Indifference', Arial, sans-serif;
    overflow-x: hidden;
}

.login-container {
    min-height: 100vh;
    background: #fff;
}

.login-left {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

    .logo-section img {
        height: 45px;
        width: auto;
    }

.logo-text {
    color: #000;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.welcome-title {
    color: #FFE200;
    font-family: 'Baloo 2', cursive;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: #6C6C70;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 15px;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: #000;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

    .form-label .required {
        color: #FF0000;
    }

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D1D1;
    border-radius: 7px;
    font-size: 15px;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    transition: all 0.3s ease;
}

    .form-control-custom:focus {
        outline: none;
        border: 2px solid #5D90CB;
        box-shadow: none;
    }

    .form-control-custom::placeholder {
        color: #B0B0B0;
    }

    
    .form-control-custom:invalid:not(:placeholder-shown) {
        border: 2px solid #FF0000;
    }

    .form-control-custom:valid:not(:placeholder-shown) {
        border: 2px solid #28a745;
    }

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6C6C70;
    font-size: 18px;
    background: none;
    border: none;
    padding: 0;
}

    .password-toggle:hover {
        color: #000;
    }

.forgot-password {
    text-align: right;
    margin-top: 8px;
}

    .forgot-password a {
        color: #F6B211;
        font-family: 'Glacial Indifference', Arial, sans-serif;
        font-size: 13px;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

        .forgot-password a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

.btn-signin {
    width: 100%;
    padding: 14px;
    background: #FFE200;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.31);
    color: #FFF;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

    .btn-signin:hover {
        background: #FFD700;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.35);
        transform: translateY(-2px);
    }

    .btn-signin:active {
        transform: translateY(0);
    }

.divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    color: #B0B0B0;
    font-size: 13px;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #D1D1D1;
    }

    .divider::before {
        margin-right: 16px;
    }

    .divider::after {
        margin-left: 16px;
    }

.create-account {
    text-align: center;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 14px;
    color: #6C6C70;
}

    .create-account a {
        color: #F6B211;
        text-decoration: none;
        font-weight: 700;
        transition: opacity 0.3s ease;
    }

        .create-account a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

.login-right {
    position: relative;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 92vh;
    border-radius: 22px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

    .slide.active {
        display: block;
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 22px;
    }

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: url('../Images/Background 1.png') lightgray 50% / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.org-thrust {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 400px;
    width: 80%;
}

    .org-thrust img {
        width: 100%;
        height: auto;
        display: block;
    }

.social-footer {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.social-icon {
    width: 39px;
    height: 39px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .social-icon img {
        width: 39px;
        height: 39px;
        object-fit: contain;
    }

.social-text {
    color: #FFF;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 4px;
}

@media (max-width: 1400px) {
    .login-left {
        padding: 40px 50px;
    }

    .welcome-title {
        font-size: 38px;
    }
}

.validation-error {
    display: none !important;
}

.form-control-custom.error {
    border: 2px solid #dc3545 !important;
}

.form-control-custom.success {
    border: 2px solid #28a745 !important;
}

.login-modal-content {
    border-radius: 20px;
    border: 2px solid #FDED75;
}

.login-modal-body {
    background-color: #1B2254;
    color: white;
    border-radius: 18px;
}

.login-modal-icon {
    font-size: 3rem;
    color: #FDED75;
}

.login-modal-title {
    font-family: 'Baloo 2', cursive;
    color: #FDED75;
}

.btn-login-modal {
    background-color: #FDED75;
    color: #1B2254;
    font-weight: bold;
}

    .btn-login-modal:hover {
        background-color: #fce84f;
        color: #1B2254;
    }

.lockout-banner {
    background-color: #1B2254;
    border: 1.5px solid #FDED75;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 14px;
    color: #FDED75;
    font-size: 0.9rem;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-weight: 600;
    text-align: center;
}

.btn-signin:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}