﻿/* Base Reset */
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #3f51b5, #5a55ae);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #fff;
}

/* Container */
.login-container
{
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Form box */
.form-box
{
    background: #fff;
    color: #333;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

    /* Heading */
    .form-box h2
    {
        text-align: center;
        margin-bottom: 25px;
        font-weight: 600;
        font-size: 24px;
    }

/* Input group */
.input-group
{
    position: relative;
    margin-bottom: 25px;
}

    .input-group input
    {
        width: 100%;
        padding: 12px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        font-size: 16px;
        background: #f9f9f9;
    }

    .input-group label
    {
        position: absolute;
        top: -10px;
        left: 12px;
        background: #fff;
        padding: 0 5px;
        font-size: 14px;
        color: #333;
    }

/* Remember me */
.remember-group
{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .remember-group label
    {
        font-size: 14px;
    }

/* Submit button */
.btn
{
    width: 100%;
    background: #3f51b5;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn:hover
    {
        background: #303f9f;
    }

/* Validation summary */
.validation-summary-errors
{
    margin-top: 15px;
    background: #ffebee;
    border: 1px solid #e53935;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 500px)
{
    .form-box
    {
        padding: 20px 15px;
    }

        .form-box h2
        {
            font-size: 20px;
        }

    .btn
    {
        font-size: 15px;
    }
}
