.appointment-section {
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    /* Needed for watermark positioning */
    background: url('your-logo.png') no-repeat center center;
    background-size: 250px;
    /* adjust size of logo */
    opacity: 0.98;
    /* keep section visible */
}

.appointment-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    /* watermark size */
    height: 800px;
    /* max-width: 800px;
    max-height: 800px; */
    background: url('../images/logo/logo-transparent.png') no-repeat center center;
    background-size: contain;
    opacity: 0.08;
    /* faint watermark */
    pointer-events: none;
    /* ensure clicks work through */
    z-index: 0;
}

.appointment-section * {
    position: relative;
    z-index: 1;
    /* keep form elements above watermark */
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-header h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.appointment-header p {
    font-size: 18px;
    color: var(--color-secondary);
    line-height: 1.6;
}

.form-section {
    border: 3px solid var(--color-accent);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
}

.form-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
}

.checkbox-item input,
.radio-item input {
    margin-right: 10px;
    width: auto;
}

.checkbox-item label,
.radio-item label {
    position: static;
    transform: none;
    background: none;
    padding: 0;
    pointer-events: all;
    font-size: 16px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload-btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-upload-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.file-name {
    margin-left: 15px;
    font-style: italic;
    color: var(--color-secondary);
}

.calendar-container {
    margin-bottom: 20px;
}

.date-input {
    width: 100%;
    padding: 14px 12px;
    font-size: 16px;
    border: 1px solid var(--color-black);
    border-radius: 4px;
    background-color: transparent;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 12px 8px;
    text-align: center;
    background: var(--color-slot-bg);
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: var(--color-slot-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
    background: var(--color-slot-selected);
    border-color: var(--color-highlight);
    color: var(--color-black);
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.submit-container {
    text-align: center;
    margin-top: 40px;
    border: 3px solid var(--color-accent);
    padding: 30px 0;
    border-radius: 8px;
}

/* Custom Radio Styling */
.radio-item input[type="radio"] {
    display: none;
    /* hide default radio */
}

.radio-item label {
    display: inline-block;
    padding: 12px 18px;
    border: 2px solid var(--color-black);
    border-radius: 6px;
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.radio-item input[type="radio"]:checked+label {
    background: var(--color-highlight);
    color: var(--color-white);
    border-color: var(--color-highlight);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.radio-item label:hover {
    background: var(--color-slot-hover);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .checkbox-group,
    .radio-group {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .client-info-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 15px;
    }

    .appointment-section::before {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {

    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }

    .appointment-header h2 {
        font-size: 22px;
    }

    .appointment-header p {
        font-size: 14px;
    }
}
