.callback-scheduler-container {
    max-width: 100%;
    margin: 0px auto;
    padding: 0px;
    background: #fff;
}

.callback-scheduler-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* Client Info Section */
.client-info-section {
    padding: 20px;
    background: #fff;
}

.client-info-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
    font-size: 18px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #000;
    font-size: 13px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Calendar Section */
.calendar-section {
    padding: 20px;
}

.calendar-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.calendar-section .description {
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.calendar-wrapper {
    background: white;
    border-radius: 6px;
    padding: 0;
    margin-bottom: 20px;
    min-height: 400px;
}

#callback-calendar {
    width: 100%;
    display: block;
}

#callback-calendar {
    width: 100%;
}

/* Calendar styling */
.flatpickr-calendar {
    width: 100% !important;
    border-radius: 4px;
    border: 1px solid #ddd !important;
    background: white !important;
    box-shadow: none !important;
    position: static !important;
    display: block !important;
    opacity: 1 !important;
}

.flatpickr-calendar.open {
    display: block !important;
}

.flatpickr-months {
    background: #29323a;
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 0;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    opacity: 0.8;
}

.flatpickr-month {
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex: 1;
    text-align: center;
}

.flatpickr-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.flatpickr-weekday {
    text-align: center;
    color: #666;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 0;
}

.flatpickr-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    padding: 10px;
}

.flatpickr-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    min-height: 40px;
}

.flatpickr-day:hover:not(.disabled):not(.prevMonthDay) {
    background: #e8f4f8;
    border-color: #0073aa;
}

.flatpickr-day.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    font-weight: bold;
}

.flatpickr-day.today {
    border: 2px solid #0073aa;
    color: #0073aa;
    font-weight: bold;
}

.flatpickr-day.disabled {
    opacity: 0.7;
    background: #f5f5f5;
    cursor: not-allowed;
    color: #ccc;
}

.flatpickr-day.prevMonthDay {
    color: #ccc;
    cursor: default;
}



/* Time selection */
.time-picker-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.time-picker-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.time-slot-btn {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.time-slot-btn:hover {
    border-color: #0073aa;
    background: #f0f7ff;
}

.time-slot-btn.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.time-slot-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Selected Slots Display */
.selected-slots {
    background: white;
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #ddd;
}

.selected-slots h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
}

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.slot-label {
    font-weight: 600;
    color: #666;
    min-width: 60px;
}

.slot-value {
    flex: 1;
    padding: 0 15px;
    color: #333;
    font-size: 14px;
}

.slot-value.empty {
    color: #999;
    font-style: italic;
}

.slot-value.filled {
    color: #0073aa;
    font-weight: 500;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.btn-remove:hover {
    background: #c82333;
}

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

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #d2a28f;
    color: #fff;
	border:1px solid #d2a28f;
}

.btn-primary:hover:not(:disabled) {
    background: #ffffff;
	color:#d2a28f;
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.98);
}

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

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .callback-scheduler-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
	.calendar-section {
      padding: 0;
	}
	.calendar-section h3 {
    padding: 0 20px;
	}
	.calendar-section .description {
    padding: 0 20px;
	}
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .slot-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .slot-value {
        margin-top: 8px;
        margin-left: 0;
    }

    .btn-remove {
        align-self: flex-end;
        margin-top: -35px;
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}

