
body {
    font-family: Arial, sans-serif;
    background: #4a7bd1; /* Medium blue */
    height: 100vh;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centered form container */
.container {
    background: white;
    padding: 35px 30px;
    width: 380px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center; /* center fields horizontally */
    box-sizing: border-box;
}

/* Form title */
h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* Inputs and button - same width, centered */
input,
button {
    width: 100%; /* full width of container */
    max-width: 100%; /* prevent overflow */
    padding: 14px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box; /* ensures padding included in width */
}

/* Input shadow */
input {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.12);
}

/* Submit button style */
button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s;
}

button:hover {
    background-color: #003e80;
}

/* Response text */
#response {
    margin-top: 12px;
    color: #007800;
    font-weight: 500;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Smaller screens (mobile) */
@media (max-width: 480px) {
    .container {
        width: 90%; /* almost full width */
        padding: 25px 20px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    input,
    button {
        font-size: 15px;
        padding: 12px;
    }
}

/* Medium screens (tablet) */
@media (max-width: 768px) {
    .container {
        width: 70%;
        padding: 30px 25px;
    }

    h1 {
        font-size: 28px;
    }

    input,
    button {
        font-size: 16px;
        padding: 13px;
    }
}
