/* Purple Apple Store - Custom Styles */
:root {
    --primary-purple: #ce2052;
    --dark-purple: #4a2a85;
    --light-purple: #e0d4f5;
    --light-gray: #f8f9fa;
}

body {
    background-color: var(--light-gray);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Navbar Styling */
.navbar-custom {
    background-color: #ce2052;
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #ffffff !important;
}
.navbar-custom .nav-link:hover {
    color: var(--light-purple) !important;
}

/* Footer Styling */
.footer-custom {
    background-color: #10001c;
    color: #f8f9fa;
}
.footer-custom a.text-muted {
    color: #adb5bd !important;
    transition: color 0.3s;
}
.footer-custom a.text-muted:hover {
    color: #ffffff !important;
}
.footer-custom .text-dark {
    color: #ffffff !important;
}
.footer-custom hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Sidebar Styling */
.sidebar {
    background-color: #ffffff;
    min-height: calc(100vh - 56px); /* minus navbar */
    border-right: 1px solid #dee2e6;
    transition: all 0.3s;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: var(--primary-purple);
    background-color: var(--light-purple);
    border-right: 3px solid var(--primary-purple);
}

.sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 8px;
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
    .d-flex {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .sidebar .nav-item {
        display: inline-block;
    }
    
    .sidebar .nav {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        border: 0;
    }
}

/* Brand Colors for UI Components */
.bg-primary {
    background-color: var(--primary-purple) !important;
}
.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}
.btn-primary:hover {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
}
.text-primary {
    color: var(--primary-purple) !important;
}
