﻿body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(135deg, #6ec1e4 0%, #2986d6 100%);
    position: relative;
}
body, h1, h2, h3, h4, h5, h6, .brand-title, .brand-desc {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

.brand-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bg-svg {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.login-split {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-left, .login-right {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-left {
    flex-direction: column;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    user-select: none;
}

    .login-left .brand-icon {
        font-size: 3.5rem;
        margin-bottom: 1.2rem;
    }

    .login-left .brand-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .login-left .brand-desc {
        font-size: 1.1rem;
        opacity: 0.8;
    }

.login-divider {
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, #e0f3ff 0%, #b3d8f7 100%);
    margin: 0 2rem;
    align-self: center;
    border-radius: 1px;
    box-shadow: 0 0 12px 0 rgba(41,134,214,0.10);
    transition: all 0.3s;
}

.login-right {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.login-card {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(41,134,214,0.10);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    min-width: 370px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-avatar {
    margin-bottom: 2rem;
    text-align: center;
}

    .login-avatar svg {
        width: 70px;
        height: 70px;
        display: block;
        margin: 0 auto;
    }

.form-label {
    font-weight: 500;
    color: #2986d6;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group-text {
    background: transparent;
    border: none;
    color: #2986d6;
    font-size: 1.2rem;
}

.form-control {
    background: #e0f3ff;
    border: 1px solid #b3d8f7;
    color: #2986d6;
    font-size: 1.08rem;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: #6ec1e4;
        background: #f5fbff;
        color: #2986d6;
        box-shadow: 0 0 0 0.2rem rgba(41,134,214,0.10);
    }

::placeholder {
    color: #7bbbe6;
    opacity: 1;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    color: #2986d6;
}

.form-check-input {
    background: #fff;
    border: 1px solid #b3d8f7;
}

.form-check-label {
    color: #2986d6;
    font-weight: 400;
    margin-left: 0.3rem;
}

.forgot-link {
    color: #2986d6;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.98rem;
}

    .forgot-link:hover {
        color: #0057b8;
    }

.btn-login {
    background: linear-gradient(90deg, #6ec1e4 60%, #2986d6 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.85rem 0;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    border: none;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(41,134,214,0.10);
    transition: background 0.2s;
}

    .btn-login:hover, .btn-login:focus {
        background: linear-gradient(90deg, #2986d6 60%, #6ec1e4 100%);
        color: #fff;
    }

.error {
    color: #e6001f;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Responsive styles */
@media (max-width: 900px) {
    .login-split {
        flex-direction: column;
        min-height: unset;
        height: auto;
    }

    .login-left, .login-right {
        min-height: unset;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
    }

    .login-divider {
        width: 60vw;
        height: 2px;
        margin: 2rem 0;
        background: linear-gradient(90deg, #e0f3ff 0%, #b3d8f7 100%);
    }

    .login-card {
        min-width: unset;
        max-width: 95vw;
        padding: 2rem 1rem;
        margin: 0 auto;
    }

    .login-avatar svg {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 600px) {
    .login-left .brand-icon {
        font-size: 2.2rem;
    }

    .login-left .brand-title {
        font-size: 1.3rem;
    }

    .login-left .brand-desc {
        font-size: 0.95rem;
    }

    .login-card {
        padding: 1.2rem 0.5rem;
        border-radius: 12px;
    }

    .input-group {
        margin-bottom: 0.8rem;
    }

    .btn-login {
        font-size: 1.05rem;
        padding: 0.7rem 0;
    }

    .login-options {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    .login-avatar svg {
        width: 40px;
        height: 40px;
    }
}
.vs-loader-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.15); /* semi-transparent white */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
    pointer-events: all;
}
.vs-loader-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .vs-loader-spinner svg {
        animation: vs-spin 1s linear infinite;
    }

@keyframes vs-spin {
    100% {
        transform: rotate(360deg);
    }
}

.vs-loader-text {
    margin-top: 1.2rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(41,134,214,0.15);
}
