/* Base */
* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 #e5e5e5;
}

/* Buttons */
.btn-primary {
    background: #000;
    color: #fff;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #222;
}

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

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* Sport Pills */
.sport-pill {
    transition: all 0.2s;
}

.sport-pill:hover {
    background: #000;
    color: #fff;
}

/* Cards */
.feature-card {
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.pricing-card {
    transition: all 0.2s;
}

.pricing-card:hover {
    border-color: #000;
}

.pricing-featured {
    border: 2px solid #000;
}

/* Modals */
.modal-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
}

/* Form inputs */
.input-field {
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: #000;
    outline: none;
}

/* Hero pattern */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23e5e5e5' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

/* Mobile menu */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: flex;
    }
}

/* Onboarding specific */
.field-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .field-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

.field-item .field-number {
    width: 2rem;
    height: 2rem;
    background: #000;
    color: #fff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.field-item .field-name {
    flex: 1;
    min-width: 0;
}

.field-item .field-price {
    width: 5rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .field-item .field-price {
        width: 6rem;
    }
}

.field-item .field-delete {
    color: #9ca3af;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.25rem;
}

.field-item .field-delete:hover {
    color: #ef4444;
}

/* Duration buttons */
.duration-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid #e5e5e5;
    transition: all 0.2s;
}

.duration-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* Day toggles */
.day-toggle {
    flex: 1;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 2px solid;
    transition: all 0.2s;
    text-align: center;
}

.day-toggle.open {
    border-color: #86efac;
    background: #f0fdf4;
    color: #15803d;
}

.day-toggle.closed {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #dc2626;
}

/* Scrollbar for fields container */
.fields-scroll {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.fields-scroll::-webkit-scrollbar {
    width: 6px;
}

.fields-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.fields-scroll::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 3px;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    z-index: 100;
    animation: slideUp 0.3s ease;
}

.toast.success {
    background: #000;
    color: #fff;
}

.toast.error {
    background: #dc2626;
    color: #fff;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}