﻿:root {
    --primary-color: #0b80bd;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body.login-page {
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b80bd 0%, #054a7d 50%, #021b3d 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow: hidden;
}

@@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Decorative blobs for "innovation" look */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: rgba(11, 128, 189, 0.3);
}

.login-box {
    width: 400px;
    z-index: 1;
}

.login-card-body {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 2.5rem !important;
}

.login-logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo-img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.login-box-msg {
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(11, 128, 189, 0.25);
    }

.input-group-text {
    background-color: transparent;
    border-radius: 0 10px 10px 0 !important;
    border-left: none;
    color: #666;
}

.input-group > .form-control {
    border-radius: 10px 0 0 10px !important;
    border-right: none;
}

.btn-primary {
    background: var(--primary-color) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

    .btn-primary:hover {
        background: #096da3 !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 128, 189, 0.4) !important;
    }

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.forgot-password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .forgot-password-link:hover {
        color: #054a7d;
        text-decoration: underline;
    }

#toast-container > .toast {
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    border-radius: 10px !important;
}

@@media (max-width: 480px) {
    .login-box {
        width: 90%;
    }

    .login-card-body {
        padding: 1.5rem !important;
    }
}
