/* Vendor Theme - Consolidated CSS */
/* Using colors from index.php: #FFA726 (primary) and #fb8c00 (hover) */

:root {
    --vendor-primary: #FFA726;
    --vendor-hover: #fb8c00;
    --vendor-light: #FFE0B2;
    --vendor-dark: #F57C00;
    --vendor-text: #fff;
}

/* Button Styles */
.btn-vendor-primary {
    background: #FFA726;
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    transition: background 0.2s;
}

.btn-vendor-primary a {
    color: #fff !important;
}

.btn-vendor-primary:hover {
    background: #fb8c00;
    color: #fff;
}

.btn-outline-primary {
    color: var(--vendor-primary) !important;
    border-color: var(--vendor-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--vendor-primary) !important;
    border-color: var(--vendor-primary) !important;
    color: var(--vendor-text) !important;
}

.btn-outline-secondary {
    color: var(--vendor-hover) !important;
    border-color: var(--vendor-hover) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--vendor-hover) !important;
    border-color: var(--vendor-hover) !important;
    color: var(--vendor-text) !important;
}

/* Navigation Links */
.nav-link:hover {
    color: var(--vendor-primary) !important;
}

.nav-link.active {
    color: var(--vendor-primary) !important;
    font-weight: 600;
}

/* Sidebar Menu */
.sidebar-menu a:hover {
    color: var(--vendor-primary) !important;
}

.sidebar-menu a.active {
    color: var(--vendor-primary) !important;
    background-color: var(--vendor-light) !important;
}

/* General Links */
a {
    color: var(--vendor-primary);
}

a:hover {
    color: var(--vendor-hover);
}

/* Category Links (for storefront) */
.category-list a:hover {
    color: var(--vendor-primary) !important;
}

/* Store Actions */
.store-actions .btn {
    border-radius: 25px;
    font-weight: 600;
}

/* Product Actions */
.product-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Store Card Actions */
.store-actions {
    display: flex;
    gap: 0.5rem;
}

.store-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none;
    margin-bottom: 1rem;
}

.mobile-nav-toggle .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.toggle-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.sidebar-content {
    transition: all 0.3s ease;
}

/* Force hide mobile toggle on desktop */
@media (min-width: 769px) {
    .sidebar .mobile-nav-toggle {
        display: none !important;
    }
    
    .sidebar .sidebar-content {
        display: block !important;
    }
}

/* Force show mobile toggle and hide sidebar content on mobile */
@media (max-width: 768px) {
    .sidebar .mobile-nav-toggle {
        display: block !important;
    }
    
    .sidebar .sidebar-content {
        display: none !important;
    }
    
    .sidebar .sidebar-content.mobile-active {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .store-actions {
        flex-direction: column;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 