﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1d2b64, #f8cdda);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 400px;
    animation: fadeIn 0.5s ease-in-out;
    box-sizing: border-box;
}

    .login-container h2 {
        text-align: center;
        color: #222;
        margin-bottom: 30px;
        font-size: 26px;
    }

.input-group {
    margin-bottom: 22px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #444;
        font-size: 14px;
    }

    .input-group i {
        margin-right: 8px;
        color: #555;
    }

    .input-group input,
    .input-group input[type="text"],
    .input-group input[type="password"],
    .input-control {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 15px;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

        .input-group input:focus {
            border-color: #1d2b64;
            outline: none;
            box-shadow: 0 0 5px rgba(29, 43, 100, 0.3);
        }

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

    .button-group button,
    .btn,
    asp\:button {
        flex: 1;
        padding: 12px 16px;
        background: #1d2b64;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s ease;
        min-width: 100px;
    }

        .button-group button:hover,
        .btn:hover {
            background: #162151;
        }

        .btn.login-btn::before {
            content: "\f2f6";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-right: 8px;
        }

i {
    margin-right: 5px;
}

#lblMessage {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🌐 Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        border-radius: 16px;
    }

        .login-container h2 {
            font-size: 22px;
            margin-bottom: 20px;
        }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

        .button-group button {
            width: 100%;
        }
}
