/* styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9fc; /* Very light clean background */
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);
}

h1 {
    text-align: center;
    font-size: 28px;
    color: #333333;
    margin-bottom: 15px;
}

#modePlaceholder {
    color: #666;
    font-style: italic;
}

#modeOptions label {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
}

#modeOptions input[type="radio"] {
    margin-right: 5px;
}

.form-group {
    margin-bottom: 8px;
}

label {
    font-weight: bold;
    font-size: 15px;
    color: #555555;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
button {
    width: 90%;
    padding: 8px 10px; /* Reduced height */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #444444;
    margin-bottom: 8px;
    margin-top: 6px;
    background-color: #ffffff;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
button:focus {
    outline: none;
    border-color: #007BFF;
}

input[type="radio"] {
    margin-right: 6px;
    transform: scale(1.2);
}

button {
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 15px;
    border: none;
    padding: 10px 15px;
}

button:hover {
    background-color: #0056b3;
}

@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 15px;
    }
}

input[type="radio"]:checked {
    background-color: #007BFF;
    border-color: #007BFF;
    color: #fff;
}

.inline-label {
    width: 48%;
    float: left;
    flex: 1;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.inline-group {
    margin-bottom: 10px;
}

.inline-label:last-child {
    margin-right: 0;
}

.inline-label input[type="tel"],
.inline-label input[type="email"] {
    width: 95%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #444444;
    margin-top: 6px;
    padding: 8px 10px;
    background-color: #ffffff;
    box-sizing: border-box;
}