﻿
:root {
    --accent: #1d61e7;
    --accent-light: #edf2ff;
    --text-dark: #1e2a3a;
    --bg-light: #f9fbfd;
    --card-bg: #ffffff;
    --border-light: #e0e6ed;
}
body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Layout */
.login-layout {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}
.image-frame {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    background: linear-gradient(to bottom, rgba(152, 169, 196, 0.3) 0%, rgba(30, 64, 115, 0.3) 55%) center/cover no-repeat;
}
.content-frame {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    padding: 2rem;
}
.login-card {
    width: 90%;
    max-width: 420px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-card h3 {
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #005a90;
}

.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.form-control {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 0.25rem rgba(29, 97, 231, 0.15);
    }


.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .login-layout {
        flex-direction: column;
    }

    .image-frame {
        flex: none;
        height: 30vh;
        padding: 1rem;
    }

        .image-frame h1 {
            font-size: 2rem;
        }

    .content-frame {
        flex: none;
        height: auto;
        padding: 3rem 1rem;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 25px;
    }

        .login-card h3 {
            font-size: 24px;
        }
}

/*buttons*/
.bb-bg-blue {
    background-color: #005a90;
    color: white;
    font-weight: 500;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 6px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 6px 10px rgba(0, 0, 0, 0.15);
}

.login-btn {
    color: #fff;
    background: linear-gradient(to bottom, #ff4b4b 0%, #d82323 100%);
    box-shadow: 0 2px 0 #a51c1c, 0 6px 10px rgba(0, 0, 0, 0.25);
}

    .login-btn:hover {
        background: linear-gradient(to bottom, #ff5e5e 0%, #e12b2b 100%);
        box-shadow: 0 3px 0 #921818, 0 6px 12px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }

    .login-btn:active {
        background: linear-gradient(to bottom, #d82323 0%, #b61c1c 100%);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
        transform: translateY(2px);
    }

    .login-btn.gray {
        color: #333;
        background: linear-gradient(to bottom, #F2F2F2 0%, #dcdcdc 100%);
        box-shadow: 0 2px 0 #b3b3b3, 0 6px 10px rgba(0, 0, 0, 0.15);
    }

        .login-btn.gray:hover {
            background: linear-gradient(to bottom, #ffffff 0%, #cfcfcf 100%);
            box-shadow: 0 2px 0 #9e9e9e, 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .login-btn.gray:active {
            background: linear-gradient(to bottom, #dcdcdc 0%, #bfbfbf 100%);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
            transform: translateY(2px);
        }

    /* Icon style */
    .login-btn .bi {
        font-size: 16px;
    }


 
.login-left {
    background: #ffffff;
    min-height: 100vh;
}

.login-right {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

 
.btn-login {
    background-color: #e53935;
    color: #fff;
}

    .btn-login:hover {
        background-color: #d32f2f;
    }

.footer-text {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    margin-top: 20px;
}
.info-icon {
    color: #dc3545;
    font-size: 1.2rem;
    margin-left: 5px;
}

