/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Container styling */
.container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
}

/* Heading styling */
h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Label styling */
label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

/* Input field styling */
input[type="text"], input[type="password"] {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Button styling */
input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive design for tablets and smaller devices */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 90%;
    }

    h2 {
        font-size: 20px;
    }

    input[type="text"], input[type="password"] {
        font-size: 16px;
        padding: 12px;
    }

    input[type="submit"] {
        font-size: 18px;
        padding: 12px 24px;
    }
}

/* Responsive design for mobile phones */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
        max-width: 95%;
    }

    h2 {
        font-size: 18px;
    }

    input[type="text"], input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    input[type="submit"] {
        font-size: 16px;
        padding: 10px 20px;
    }
}
