/* General Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2); /* Subtle background gradient */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full screen height */
    width: 100vw;  /* Full screen width */
    box-sizing: border-box;
}

/* Container Styling */
.container {
    width: 100%;  /* Full width of the screen */
    max-width: none;  /* Remove max-width restriction */
    background-color: #ffffff;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px;  /* Adjusted padding for smaller screens */
    box-sizing: border-box;
    text-align: center;
    overflow-y: auto;  /* Allow scrolling if content exceeds screen height */
}

/* Heading Styling */
h1 {
    color: #333;
    font-size: 1.8em;  /* Slightly smaller for better fit */
    margin-bottom: 15px;
    font-weight: 700;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Label and Input Styling */
label {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #555;
}

input[type="text"], input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* Inner shadow for depth */
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="number"]:focus {
    border-color: #007BFF; /* Highlight on focus */
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    outline: none;
}

/* Button Styling */
button {
    width: 100%;
    padding: 12px;  /* Slightly smaller padding */
    background-color: #007BFF; /* Modern blue color */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;  /* Adjusted font size */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

button:active {
    transform: scale(0.98); /* Pressed button effect */
}

button:disabled {
    background-color: #ccc; /* Greyed out when disabled */
    cursor: not-allowed;
}

/* Success Message */
#successMessage {
    color: green;
    font-size: 1em;
    margin-top: 20px;
    display: none;
}

/* Media Queries for Mobile Responsiveness */
@media only screen and (max-width: 800px) {
    h1 {
        font-size: 1.3em;  /* Adjusted for smaller screens */
    }

    input, button {
        font-size: 0.9em;  /* Slightly smaller input/button text */
    }

    .container {
        padding: 15px;  /* Reduced padding for more space */
    }
}

/* Hide Elements */
.hidden {
    display: none;
}
