/* --- Contact Page Styles --- */
.contact-container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--nav-background);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.contact-header {
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-subheader {
    text-align: center;
    font-size: 18px;
    color: #888;
    margin-bottom: 30px;
}

/* --- Radio Button Selection --- */
.job-type-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.job-type-selection input[type="radio"] {
    display: none; /* Hide the actual radio button */
}

.job-type-selection label {
    padding: 12px 25px;
    border: 2px solid #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

/* Style for when a radio button is checked */
.job-type-selection input[type="radio"]:checked + label {
    background-color: #EBC9B9;
    border-color: #EBC9B9;
    color: #000;
    font-weight: bold;
}

/* Dark mode compatibility for radio labels */
[data-theme="dark"] .job-type-selection label {
    border-color: #555;
}

[data-theme="dark"] .job-type-selection input[type="radio"]:checked + label {
    background-color: #555;
    border-color: #555;
    color: #fff;
}


/* --- General Form Section & Element Styles --- */
.form-section {
    display: none; /* Hide both form sections by default */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: 'Jaldi', sans-serif;
    font-size: 16px;
    background-color: var(--background-color);
    color: var(--text-color);
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333;
}

[data-theme="dark"] .submit-btn {
    background-color: #EBC9B9;
    color: #000;
}


/* --- Calendar Styles --- */
#calendar-container {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
}

#calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#calendar-header h2 {
    margin: 0;
    font-size: 22px;
    color: var(--text-color);
}

#calendar-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 15px;
    color: var(--text-color);
}

#calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-day, .calendar-date {
    padding: 10px;
    font-size: 14px;
}

.calendar-day {
    font-weight: bold;
}

.calendar-date {
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.calendar-date:hover {
    background-color: #f0f0f0;
}

.calendar-date.today {
    background-color: #EBC9B9;
    color: #000;
    font-weight: bold;
}

.calendar-date.selected {
    background-color: #000;
    color: #fff;
}

.calendar-date.not-current-month {
    color: #ccc;
}

[data-theme="dark"] .calendar-date:hover {
    background-color: #333;
}

[data-theme="dark"] .calendar-date.selected {
    background-color: #EBC9B9;
    color: #000;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .job-type-selection {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}