/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 200ms;
    outline: none;
}

.btn:focus {
    outline: none;
    ring: 2px;
    ring-offset: 2px;
}

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

.btn-primary {
    background-color: #ea580c;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(254, 215, 170, 0.5);
}

.btn-primary:hover {
    background-color: #c2410c;
}

.btn-primary:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #f97316;
}

.btn-secondary {
    background-color: #292524;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #1c1917;
}

.btn-outline {
    border: 2px solid #e7e5e4;
    color: #44403c;
}

.btn-outline:hover {
    border-color: #ea580c;
    color: #ea580c;
}

.btn-ghost {
    color: #57534e;
}

.btn-ghost:hover {
    color: #ea580c;
    background-color: #fff7ed;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-md {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header scroll state */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Animation for fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Spin animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
