    /* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/assets/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.login-box {
    width: 320px;
    padding: 40px;
    background-color: rgba(30, 0, 222, 0.37);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.login-box:hover {
    background-color: rgba(30, 0, 222, 0.37);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.logo img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="password"], input[type="email"], select {
    margin-top: 15px;
}

input:focus, select:focus {
    outline: none;
    border-color: rgba(30, 144, 255, 0.7);
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.95);
}

button {
    background-color: rgba(30, 92, 179, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    margin-top: 15px;
}

button:hover {
    background-color: rgba(22, 74, 150, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 15px;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

a:hover {
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Message styling */
.alert-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-out;
    max-width: 400px;
    width: 90%;
}

.alert-error {
    background-color: #dc3545; /* Red background */
    border: 2px solid #ffc107; /* Yellow border */
    color: white; /* White font */
}

.alert-success {
    background-color: #28a745; /* Green background */
    border: 2px solid #155724; /* Dark green border */
    color: white; /* White font */
}

.alert-message::before {
    content: "⚠";
    font-size: 20px;
    font-weight: bold;
}

.alert-success::before {
    content: "✓";
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

.alert-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    width: auto;
}

.alert-close:hover {
    background: none;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

/* Small adjustments for mobile responsiveness */
@media (max-width: 600px) {
    .login-box {
        width: 90%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    body {
        background-attachment: fixed;
    }
    
    .login-container {
        backdrop-filter: blur(8px);
    }
    
    .alert-message {
        width: 85%;
        padding: 12px 15px;
    }
}
/* Password input wrapper */
.password-wrapper {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px !important; /* Space for the eye icon */
    margin: 0;
    /* COMPLETELY HIDE BROWSER'S DEFAULT EYE ICON */
    &::-ms-reveal,
    &::-ms-clear,
    &::-webkit-credentials-auto-fill-button,
    &::-webkit-contacts-auto-fill-button {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        position: absolute;
        right: -9999px;
    }
}

/* HIDE ALL BROWSER DEFAULT PASSWORD REVEAL BUTTONS */
input[type="password"] {
    /* For Edge/IE */
    &::-ms-reveal,
    &::-ms-clear {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* For Chrome/Safari */
    &::-webkit-credentials-auto-fill-button,
    &::-webkit-contacts-auto-fill-button,
    &::-webkit-text-security-disc {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        right: -9999px !important;
    }
    
    /* For Firefox */
    &::-moz-text-security-disc {
        display: none !important;
    }
}

/* Custom eye icon */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    width: auto;
    padding: 0;
    margin: 0;
    z-index: 10; /* Make sure it's above everything */
    /* Always show - we'll control visibility with JavaScript */
    display: block !important;
    visibility: visible !important;
}

.toggle-password:hover {
    color: #333;
    background: none;
    transform: translateY(-50%);
    box-shadow: none;
}

/* Hide our eye icon when password field is empty */
.password-wrapper input:placeholder-shown + .toggle-password {
    display: none !important;
}

/* Always show the toggle button when there's input */
.password-wrapper input:not(:placeholder-shown) + .toggle-password {
    display: block;
}

/* Hide when empty */
.password-wrapper input:placeholder-shown + .toggle-password {
    display: none;
}

/* Make sure the eye icon doesn't get overlapped */
.password-wrapper input {
    padding-right: 40px !important;
}
