/* body style */
body {
  background-color: lightwhite;
  max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

header h1 {
    color: #2c3e50;
    margin-bottom: 15px;
}

form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Labels and Inputs */
label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
select,button {
  align-items: right;
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    transition: border-color 0.3s ease;
}

/* Validation Styling */
input:focus {
    outline: none;
    border-color: #3498db;
}


.control {
    margin-top: 2px;
    display: flex;
    gap: 15px;
}

.radio {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}
#submit {
    background-color: #3498db;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

/* Footer */
footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color:black;
}