
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Tajawal', sans-serif;
    }

    body {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        position: relative;
        overflow: hidden;
    }



    .bg-shapes span {
        position: absolute;
        display: block;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.1);
        animation: float 25s linear infinite;
        bottom: -150px;
        border-radius: 50%;
    }

    .bg-shapes span:nth-child(1) {
        left: 25%;
        width: 80px;
        height: 80px;
        animation-delay: 0s;
    }

    .bg-shapes span:nth-child(2) {
        left: 10%;
        width: 20px;
        height: 20px;
        animation-delay: 2s;
        animation-duration: 12s;
    }

    .bg-shapes span:nth-child(3) {
        left: 70%;
        width: 20px;
        height: 20px;
        animation-delay: 4s;
    }

    .bg-shapes span:nth-child(4) {
        left: 40%;
        width: 60px;
        height: 60px;
        animation-delay: 0s;
        animation-duration: 18s;
    }

    .bg-shapes span:nth-child(5) {
        left: 65%;
        width: 20px;
        height: 20px;
        animation-delay: 0s;
    }

    .bg-shapes span:nth-child(6) {
        left: 75%;
        width: 110px;
        height: 110px;
        animation-delay: 3s;
    }

    .bg-shapes span:nth-child(7) {
        left: 35%;
        width: 150px;
        height: 150px;
        animation-delay: 7s;
    }

    .bg-shapes span:nth-child(8) {
        left: 50%;
        width: 25px;
        height: 25px;
        animation-delay: 15s;
        animation-duration: 45s;
    }

    .bg-shapes span:nth-child(9) {
        left: 20%;
        width: 15px;
        height: 15px;
        animation-delay: 2s;
        animation-duration: 35s;
    }

    .bg-shapes span:nth-child(10) {
        left: 85%;
        width: 150px;
        height: 150px;
        animation-delay: 0s;
        animation-duration: 11s;
    }

    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 1;
        }

        100% {
            transform: translateY(-1000px) rotate(720deg);
            opacity: 0;
        }
    }

    .login-container {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 450px;
    }

    .login-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        overflow: hidden;
    }

    .login-header {
        background: linear-gradient(135deg, #95a5cd 0%, #1d4ed8 100%);
        padding: 40px 30px;
        text-align: center;
        position: relative;
    }

    .logo-wrapper {
        width: 90px;
        height: 90px;
        background: white;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .logo-wrapper img {
        width: 70px;
        height: auto;
    }

    .login-header h1 {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }

    .login-body {
        padding: 50px 40px 40px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-label {
        display: block;
        color: #1e293b;
        font-weight: 500;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .input-wrapper {
        position: relative;
    }

    .input-wrapper i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.25rem;
        transition: color 0.3s ease;
    }

    .form-control {
        width: 100%;
        padding: 10px 50px 15px 15px;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f8fafc;
    }

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        background: white;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    }

    .form-control:focus+i,
    .form-control:not(:placeholder-shown)+i {
        color: #2563eb;
    }



    .password-toggle {
        position: absolute;
        left: 40px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #94a3b8;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease;
    }

    .password-toggle:hover {
        color: #2563eb;
    }



    .remember-me {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #2563eb;
        cursor: pointer;
    }

    .remember-me span {
        color: #64748b;
        font-size: 0.9rem;
    }

    .btn-login {
        width: 100%;
        padding: 10px;
        background: #0d6efd;
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }



    .btn-login:active {
        transform: translateY(0);
    }

    .btn-login:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .btn-login .spinner-border {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .login-footer {
        text-align: center;
        padding: 20px 40px 30px;
        border-top: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    .login-footer p {
        color: #64748b;
        font-size: 0.85rem;
    }

    /* Toast Styles */
    #toast-container>div {
        opacity: 1 !important;
        border-radius: 10px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        padding: 15px 20px 15px 50px !important;
    }

    #toast-container>.toast-error {
        background-color: #ef4444 !important;
    }

    #toast-container>.toast-success {
        background-color: #10b981 !important;
    }

    /* Responsive */
    @media (max-width: 480px) {
        .login-body {
            padding: 40px 25px 30px;
        }

        .login-header {
            padding: 30px 20px;
        }

        .login-header h1 {
            font-size: 1.25rem;
        }
    }

    /* Error Messages */
    .invalid-feedback {
        color: #ef4444;
        font-size: 0.85rem;
        margin-top: 8px;
        display: block;
    }

    .is-invalid {
        border-color: #ef4444 !important;
    }

    .is-invalid:focus {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    }
