/**
 * Modern Theme
 * Clean, contemporary design with subtle shadows and rounded corners
 */

:root {
    /* Colors - Modern Blue */
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-primary-light: #60a5fa;
    --color-secondary: #1e293b;
    --color-secondary-dark: #0f172a;
    --color-accent: #06b6d4;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Background */
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-surface: #ffffff;
    
    /* Text */
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
}

/* Modern header style */
.header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

/* Modern theme - button enhancements handled in main.css */

/* Modern cards */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Product cards */
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-card__image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Form inputs */
.form-control {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Navigation */
.nav__link,
.nav-main a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.2s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--radius-xl);
    margin: var(--spacing-4);
    color: white;
}

.hero h1,
.hero p {
    color: white;
}

.hero p {
    opacity: 0.9;
}

/* Alerts */
.alert {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* Tables */
.table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.badge-sale,
.badge-out-of-stock {
    border-radius: 50px;
    padding: 8px 16px;
}
