.clinic-reservation-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.error-message {
    color: #ff0000;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.time-slots-container {
    margin-top: 20px;
}

.time-slot {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 8px 15px;
    background: #7f19e5;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.time-slot:hover,
#book-appointment:hover {
    background: #000;
    -webkit-transition: all 2500ms ease;
    -moz-transition: all 2500ms ease;
    -ms-transition: all 2500ms ease;
    -o-transition: all 2500ms ease;
    transition: all 2500ms ease;
}

.time-slot.booked {
    background: #cccccc;
    cursor: not-allowed;
}

.time-slot.selected {
    background: #2196F3;
}

#reservation-response {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

#reservation-response.success {
    background: #dff0d8;
    color: #3c763d;
}

#reservation-response.error {
    background: #f2dede;
    color: #a94442;
}

#book-appointment {
    background: #7f19e5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #6B24DB !important;
    background: #7f19e5 !important;
}

/* Validation Styles */
.form-group input {
    transition: all 0.3s ease;
}

.form-group input.valid {
    background-color: #f0fff0;
    border-color: #4CAF50;
}

.form-group input.invalid {
    background-color: #fff0f0;
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.9em;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.error-message.show {
    max-height: 50px;
    opacity: 1;
}

.success-message {
    color: #4CAF50;
    font-size: 0.9em;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.success-message.show {
    max-height: 50px;
    opacity: 1;
}

/* Admin Styles */
.wp-list-table .column-actions {
    width: 150px;
}

.wp-list-table .button {
    margin-right: 5px;
    margin-bottom: 5px;
}

.notice-success {
    margin: 5px 0 15px;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Success message position */
#reservation-response {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    position: relative;
}

/* Animation timing */
#reservation-response.success {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
