/* Purple Apple Store - Core Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Core Brand Colors */
    --primary: #D4144F;
    --primary-hover: #B80F42;
    --primary-light: #FCE8ED;
    --secondary: #6D3FD1;
    
    /* Semantic Colors */
    --success: #16A34A;
    --success-light: #DCFCE7;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --info: #2563EB;
    --info-light: #DBEAFE;
    
    /* Neutral Palette */
    --text-main: #172033;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --bg-main: #F7F8FC;
    --bg-surface: #FFFFFF;
    --border-color: #E5E7EB;
    
    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-bg: #FFFFFF;
    --sidebar-hover: #FCE8ED;
    --sidebar-active-border: #D4144F;
    
    /* Header */
    --header-height: 64px;
    --header-bg: #FFFFFF;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Base App Shell Layout */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.app-main-container {
    display: flex;
    flex: 1;
    overflow: hidden; /* Prevent body scroll if sidebar/main handle it */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #94A3B8;
}
