.idl-form-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.idl-progress-bar {
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}

.idl-progress-fill {
    height: 100%;
    background: #F59C0C;
    transition: width 0.4s ease;
}

.idl-step-indicator {
    text-align: center;
    margin-bottom: 35px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.current-step {
    color: #F59C0C;
    font-weight: 700;
}

.idl-form h2 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.idl-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.65;
}

.idl-fieldset {
    margin-bottom: 35px;
    border: none;
    padding: 0;
}

.idl-legend {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
    margin-bottom: 18px;
    display: block;
    letter-spacing: -0.3px;
}

.idl-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
    line-height: 1.6;
    font-style: normal;
}

.idl-checkbox-group,
.idl-radio-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.idl-checkbox-label,
.idl-radio-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    user-select: none;
    transition: color 0.2s ease;
}

.idl-checkbox-label:hover,
.idl-radio-label:hover {
    color: #111827;
}

.idl-checkbox,
.idl-radio {
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.idl-checkbox-label span,
.idl-radio-label span {
    line-height: 1.6;
}

.idl-checkbox-label a,
.idl-radio-label a {
    color: #F59C0C;
    text-decoration: none;
    font-weight: 500;
}

.idl-checkbox-label a:hover,
.idl-radio-label a:hover {
    text-decoration: underline;
    color: #d97706;
}

.idl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .idl-form-row {
        grid-template-columns: 1fr;
    }
}

.idl-form-group {
    display: flex;
    flex-direction: column;
}

.idl-label {
    font-weight: 500;
    color: #111827;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: -0.2px;
}

.required {
    color: #ef4444;
}

.idl-input {
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
}

.idl-input::placeholder {
    color: #d1d5db;
}

.idl-input:focus {
    outline: none;
    border-color: #F59C0C;
    box-shadow: 0 0 0 4px rgba(245, 156, 12, 0.1);
    background: #fffbf0;
}

.idl-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.idl-form-notice {
    background: #fffbf0;
    border-left: 4px solid #F59C0C;
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.idl-form-notice h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.idl-form-notice p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.idl-form-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 30px;
}

.idl-btn {
    padding: 13px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    letter-spacing: -0.3px;
}

.idl-btn-primary {
    background: #F59C0C;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(245, 156, 12, 0.15);
}

.idl-btn-primary:hover:not(:disabled) {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(245, 156, 12, 0.25);
    transform: translateY(-1px);
}

.idl-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.idl-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.idl-btn-secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1.5px solid #e5e7eb;
}

.idl-btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.idl-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.idl-error:not(:empty) {
    display: block;
}

.idl-form-message {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid;
}

.idl-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.idl-form-message.success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: #22c55e;
}

.idl-success-container {
    text-align: center;
    padding: 50px 40px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
}

.idl-success-content {
    max-width: 550px;
    margin: 0 auto;
}

.idl-success-content h2 {
    color: #111827;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.idl-success-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.idl-rejection-box {
    background: #ffffff;
    border: 1.5px solid #fecaca;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.idl-rejection-box h2 {
    color: #111827;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.idl-rejection-box p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

/* Microsoft Booking Widget */
.idl-booking-wrapper {
    width: 100%;
    overflow-x: auto;
}

.idl-booking-wrapper iframe {
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

@media (max-width: 640px) {
    .idl-booking-wrapper iframe {
        height: 600px !important;
        min-height: 600px;
    }
}

@media (max-width: 640px) {
    .idl-form-container {
        margin: 30px 16px;
        padding: 35px 24px;
        border-radius: 10px;
    }

    .idl-form h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .idl-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .idl-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .idl-form-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .idl-btn {
        flex: 1;
    }

    .idl-fieldset {
        margin-bottom: 28px;
    }

    .idl-checkbox-label,
    .idl-radio-label {
        font-size: 13px;
    }

    .idl-success-container,
    .idl-rejection-box {
        padding: 35px 24px;
    }

    .idl-success-content h2,
    .idl-rejection-box h2 {
        font-size: 24px;
    }
}

/* Checkbox & Radio Button Enhancement */
.idl-checkbox,
.idl-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.idl-radio {
    border-radius: 50%;
}

.idl-checkbox:hover,
.idl-radio:hover {
    border-color: #F59C0C;
    box-shadow: 0 0 0 3px rgba(245, 156, 12, 0.1);
}

.idl-checkbox:checked,
.idl-radio:checked {
    background: #F59C0C;
    border-color: #F59C0C;
    color: white;
    box-shadow: 0 0 0 3px rgba(245, 156, 12, 0.1);
}

.idl-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.idl-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.idl-checkbox:focus,
.idl-radio:focus {
    outline: none;
    border-color: #F59C0C;
    box-shadow: 0 0 0 4px rgba(245, 156, 12, 0.15);
}
