/* Custom styling & animations for MEHMET CANSIZ Barber Club */

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Stepper Pill Styles */
.step-pill {
    background-color: #1e293b;
    color: #94a3b8;
    border: 2px solid #334155;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-pill.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0f17;
    border-color: #fde68a;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    transform: scale(1.08);
}

.step-pill.completed {
    background-color: #0f172a;
    color: #fbbf24;
    border-color: #f59e0b;
}

/* Primary and Secondary Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0f17;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.875rem;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.35);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    background-color: #1e293b;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.875rem;
    border: 1px solid #334155;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.btn-secondary:hover {
    background-color: #334155;
    color: #ffffff;
}

/* Time slot buttons */
.slot-btn {
    padding: 0.75rem 0.5rem;
    background-color: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    user-select: none;
}

.slot-btn:hover:not(.booked):not(.selected) {
    border-color: #f59e0b;
    color: #fbbf24;
    background-color: rgba(245, 158, 11, 0.08);
}

.slot-btn.selected {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0f17;
    border-color: #fde68a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.slot-btn.booked {
    background-color: #131b28;
    color: #475569;
    border-color: #1e293b;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.25s ease-out forwards;
}

/* Selection Cards */
.selection-card {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    user-select: none;
}

.selection-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-1.5px);
}

.selection-card.selected {
    border-color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.18);
}

/* Touch improvements for mobile */
@media (max-width: 640px) {
    input, select, textarea, button {
        font-size: 16px !important; /* Prevents iOS auto-zoom on inputs */
    }
}
