﻿/* Centered login container */
body {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
}

.logo {
    display: block;
    margin: 0 auto 15px auto;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* Password visibility toggle */
.input-container {
    position: relative;
}

    .input-container input {
        padding-right: 40px;
    }

    .input-container .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 18px;
    }

/* Login title */
.login-container h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* ASP.NET Login Control Styling */
.asp-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

    /* Input fields */
    .asp-login input[type="text"],
    .asp-login input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
    }

/* Login Button */
.login-button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

    .login-button:hover {
        background: #0056b3;
    }

/* Mobile Button */
.mobile-button {
    background: none;
    border: none;
    color: #007bff;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    text-decoration: underline;
}

    .mobile-button:hover {
        color: #0056b3;
    }

/* "Remember Me" checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
}

    .remember-me input {
        margin-right: 8px;
    }

/* Responsive Mobile Tweaks */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
}
