/* --- General Styling --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 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: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

/* --- Header & Logo --- */
.header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #007bff; /* A nice blue for the pool theme */
    padding-bottom: 15px;
}

.header h1 {
    color: #007bff;
    font-size: 2em;
    margin: 0;
}

.header p {
    color: #666;
    margin-top: 5px;
}

/* --- Form Styling --- */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; 
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 1em;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* --- Radio Button & Checkbox Styling --- */
.radio-group label,
.checkbox-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}

/* --- File Upload Styling --- */
input[type="file"] {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    background-color: #f9f9f9;
}

/* --- Conditional Field Styling (for VAT No) --- */
#vatNoGroup, #vatCertGroup {
    display: none; /* Hidden by default - managed by JS */
}

/* --- Language Toggle --- */
#languageToggle {
    text-align: right;
    margin-bottom: 20px;
}

#languageToggle button {
    background-color: #28a745; /* Green button */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#languageToggle button:hover {
    background-color: #218838;
}

/* --- Submit Button --- */
.submit-group {
    text-align: center;
    margin-top: 30px;
}

button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.1s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}