@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

h1, h2 {
    color: #004d40;
    text-align: center;
    margin-bottom: 10px;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #00695c;
    border-bottom: 2px solid #b2dfdb;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s;
}

label {
    margin-bottom: 8px;
    font-weight: 700;
    color: #555;
    transition: color 0.3s;
}

input[type="number"], select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

input[type="number"]:focus, select:focus {
    border-color: #00796b;
    box-shadow: 0 0 8px rgba(0, 121, 107, 0.2);
    outline: none;
}

/* Style for disabled fields */
input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-group.disabled {
    opacity: 0.5;
}

.form-group.disabled label {
    color: #999;
}


.form-group.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    grid-column: 1 / -1;
    background: linear-gradient(45deg, #00796b, #004d40);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
}

/* Mobile Responsive Design */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 1.8em;
    }
}