

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s forwards;
    border-left: 4px solid #3b82f6;
}
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast.warning { border-left-color: #f59e0b; }

.toast-title { font-weight: bold; margin-bottom: 4px; color: #333; }
.toast-message { font-size: 0.9em; color: #666; }
.toast-close { background: none; border: none; cursor: pointer; color: #999; margin-left: auto; }

/* Loading States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    color: var(--text-secondary);
}
.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Form Error */
.form-group.error input { border-color: #ef4444; }
.error-message { color: #ef4444; font-size: 0.8rem; margin-top: 4px; }

/* Pagination */
.pagination { display: flex; gap: 5px; justify-content: center; margin-top: 2rem; }
.page-btn { padding: 5px 10px; border: 1px solid #ddd; background: white; cursor: pointer; }
.page-btn.active { background: #8B5CF6; color: white; border-color: #8B5CF6; }

/* Appointment Scheduler Styles */
.scheduler-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.calendar-day {
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.03);
}

.calendar-day:hover:not(.disabled) {
    background: rgba(139, 92, 246, 0.2);
    color: white;
}

.calendar-day.selected {
    background: var(--phoenix-purple);
    color: white;
    font-weight: bold;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.time-slots {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover, .time-slot.selected {
    background: var(--phoenix-purple);
    color: white;
    border-color: var(--phoenix-purple);
}

.scheduler-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}
