#thb-booking-wizard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.thb-step {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.thb-step h3 {
    margin-top: 0;
    color: #2c3338;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.thb-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.thb-branch-list,
.thb-department-list,
.thb-doctor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.thb-branch-item,
.thb-department-item,
.thb-doctor-item {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
}

.thb-branch-item:hover,
.thb-department-item:hover,
.thb-doctor-item:hover {
    border-color: #007cba;
    background: #f0f8ff;
    transform: translateY(-2px);
}

.thb-branch-item.selected,
.thb-department-item.selected,
.thb-doctor-item.selected {
    border-color: #007cba;
    background: #007cba;
    color: white;
}

.thb-branch-item h4,
.thb-department-item h4,
.thb-doctor-item h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.thb-branch-item p,
.thb-department-item p,
.thb-doctor-item p {
    margin: 5px 0;
    font-size: 14px;
    color: inherit;
}

.thb-date-selection {
    margin: 20px 0;
    text-align: center;
}

.thb-date-selection label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
}

#thb-booking-date {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-width: 200px;
}

.thb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.thb-time-slot {
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
}

.thb-time-slot.available:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.thb-time-slot.available.selected {
    border-color: #007cba;
    background: #007cba;
    color: white;
}

.thb-time-slot.unavailable {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.thb-time-slot .time-range {
    font-weight: bold;
    display: block;
}

.thb-time-slot .token-info {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.thb-form-group {
    margin-bottom: 20px;
}

.thb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3338;
}

.thb-form-group input,
.thb-form-group select,
.thb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.thb-form-group input:focus,
.thb-form-group select:focus,
.thb-form-group textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.thb-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thb-prev-step {
    background: #6c757d;
    border-color: #6c757d;
}

.thb-prev-step:hover {
    background: #5a6268;
    border-color: #545b62;
}

.thb-submit-booking {
    background: #28a745;
    border-color: #28a745;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
}

.thb-submit-booking:hover {
    background: #218838;
    border-color: #1e7e34;
}

.thb-otp-form {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.thb-otp-form p {
    margin-bottom: 20px;
    font-size: 16px;
}

#thb-otp-input {
    font-size: 24px;
    text-align: center;
    letter-spacing: 10px;
    padding: 15px;
    margin-bottom: 20px;
    width: 200px;
}

.thb-otp-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thb-booking-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.thb-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #dc3545;
}

.thb-success {
    background: #d1edff;
    color: #004085;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #007cba;
}

.thb-info {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    #thb-booking-wizard {
        padding: 10px;
    }
    
    .thb-step {
        padding: 20px;
    }
    
    .thb-branch-list,
    .thb-department-list,
    .thb-doctor-list {
        grid-template-columns: 1fr;
    }
    
    .thb-time-slots {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .thb-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .thb-navigation .button {
        width: 100%;
    }
}