/* General styles */
body {
    font-family: Verdana, sans-serif;
    background-color: #083896;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

h1, h2 {
    color: #deb92f;
    text-align: center;
    margin-top: 20px; /* Add some top margin for better spacing */
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

h2 {
    font-size: 16px;
}

/* Fieldset and Legend for better grouping */
fieldset {
    border: 1px solid #deb92f; /* Add a subtle border */
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px; /* Slightly rounded corners */
}

legend {
    color: #deb92f;
    text-align: center;
    padding: 0 10px;
    font-weight: bold;
    font-size: 18px; /* Slightly larger for emphasis */
}

/* Input group for flex containers */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px; /* Space between input groups */
}

.input-group > div {
    flex: 1;
}

input, select, button {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px; /* Use this for consistent spacing */
    border: 1px solid #ccc;
    border-radius: 4px; /* Slightly rounded corners for inputs */
}

button[type="button"] {
    height: 40px;
    background-color: #deb92f; /* A call to action color */
    color: #083896; /* Dark blue text for contrast */
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="button"]:hover {
    background-color: #c7a72c; /* Slightly darker on hover */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #ddd;
}

table tr td:nth-child(2),
table tr th:nth-child(2) {
    border-left: none;
    border-right: none;
}

/* Label styles */
label {
    color: #FFFFFF;
    display: block;
    text-align: center;
    margin-bottom: 5px; /* Space between label and input */
    font-size: 14px; /* Slightly smaller for labels */
}

/* Disabled input styles (using a class for consistency) */
.disabled-input {
    color: #000000;
    background-color: #e0e0e0; /* A lighter gray for disabled inputs */
    opacity: 1; /* Ensure full opacity */
    font-weight: bold;
    -webkit-appearance: none; /* For consistent styling across browsers */
}

.disabled-input::placeholder {
    color: #000000;
    font-weight: normal;
}

/* Responsive styles */
@media only screen and (max-width: 600px) {
    .input-group {
        flex-direction: column; /* Stack inputs vertically on small screens */
    }

    input, select, button {
        padding: 8px;
        margin-bottom: 8px;
    }
}