/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Modern Blue Gradient Palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Neutral Colors - Sophisticated Gray Scale */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Status Colors - Vibrant & Professional */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    
    /* Semantic Colors - Light Mode */
    --background: #ffffff;
    --surface: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-hover: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-error: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-surface: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Layout */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --header-height: 72px;
    
    /* Shadows - Enhanced 3D Effect */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Border Radius - Larger & More Modern */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions - Smooth & Professional */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--surface-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--gradient-surface);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.375rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 1.75rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    transition: opacity var(--transition-normal);
}

.sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-toggle:hover {
    background-color: var(--neutral-100);
    color: var(--text-primary);
}

.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.menu-list {
    list-style: none;
    padding: 0 1rem;
}

.menu-item {
    margin-bottom: 0.25rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    font-weight: 600;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
    border-radius: 0 4px 4px 0;
}

.menu-link:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    transform: translateX(4px);
}

.menu-link:hover::before {
    transform: scaleY(1);
}

.menu-item.active .menu-link {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.menu-item.active .menu-link::before {
    transform: scaleY(1);
    background: rgba(255, 255, 255, 0.3);
}

.menu-link i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
}

.menu-text {
    transition: opacity var(--transition-normal);
    white-space: nowrap;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    width: 0;
}

.menu-badge {
    background-color: var(--error-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: auto;
    min-width: 1.25rem;
    text-align: center;
    transition: opacity var(--transition-normal);
}

.sidebar.collapsed .menu-badge {
    opacity: 0;
    width: 0;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast);
}

.user-info:hover {
    background-color: var(--neutral-50);
}

.user-avatar {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--gradient-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.user-info:hover .user-avatar {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.user-details {
    display: flex;
    flex-direction: column;
    transition: opacity var(--transition-normal);
}

.sidebar.collapsed .user-details {
    opacity: 0;
    width: 0;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* ===== TOP HEADER ===== */
.top-header {
    height: var(--header-height);
    background: var(--background);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.mobile-menu-toggle:hover {
    background-color: var(--neutral-100);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* API Status Indicator */
.api-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.api-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning-500);
    animation: pulse-dot 2s infinite;
}

.api-status.connected .api-status-dot {
    background: var(--success-500);
    animation: none;
}

.api-status.disconnected .api-status-dot {
    background: var(--error-500);
    animation: none;
}

.api-status.connected {
    background: var(--success-50);
    color: var(--success-700);
}

.api-status.disconnected {
    background: var(--error-50);
    color: var(--error-700);
}

.api-status-text {
    white-space: nowrap;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.header-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header-btn:hover {
    background-color: var(--neutral-100);
    color: var(--text-primary);
}

.notification-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background-color: var(--error-500);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    min-width: 1rem;
    text-align: center;
}

.current-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== PAGE CONTAINER ===== */
.page-container {
    flex: 1;
    padding: 2rem;
    max-width: 100%;
    overflow-x: auto;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-200);
}

.stat-card:hover::before {
    opacity: 0.03;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

/* Stat Card Clickable */
.stat-card-clickable {
    cursor: pointer;
    user-select: none;
}

.stat-card-clickable:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-300);
}

.stat-card-clickable:active {
    transform: translateY(-6px) scale(1.01);
    transition: transform 0.1s ease;
}

.stat-card-clickable .stat-change {
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.stat-card-clickable:hover .stat-change {
    opacity: 1;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--primary-50);
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: all var(--transition-normal);
}

.stat-card:hover .stat-value {
    transform: scale(1.05);
    color: var(--primary-600);
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success-600);
}

.stat-change.negative {
    color: var(--error-600);
}

.stat-change.neutral {
    color: var(--text-muted);
}

/* ===== PRODUCTS PAGE ===== */
.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.products-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--background);
    color: var(--text-secondary);
    border: 2px solid var(--border);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary-300);
    color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
}

.products-filters {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filters-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-50);
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    background: var(--background);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

/* Transições suaves para troca de conteúdo */
.fade-out { opacity: 0; transition: opacity 200ms ease; }
.fade-in { opacity: 1; transition: opacity 250ms ease; }

/* Página de categoria */
.view-categoria { padding: 0.5rem 0; }
.categoria-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.btn-voltar-categoria { display: inline-flex; align-items: center; gap: .5rem; }
.categoria-sub { color: var(--text-secondary); margin: .25rem 0 1rem; }

/* Categoria inline no dashboard */
.categoria-inline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}
.categoria-inline-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}
.categoria-inline-sub {
    color: var(--text-secondary);
    margin: .5rem 0 1rem 0;
    font-size: 0.95rem;
}
.btn-voltar-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.categoria-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.categoria-card-product {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1rem;
    background: var(--gradient-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}
.categoria-card-thumb img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.categoria-card-title { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem 0; }
.categoria-card-desc { color: var(--text-secondary); font-size: .9rem; margin: 0 0 .5rem 0; }
.categoria-card-price { font-weight: 800; color: var(--primary-700); }

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem 0;
}

.chip-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    background: var(--neutral-50);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chip-filter:hover {
    border-color: var(--primary-300);
    color: var(--text-primary);
}

.chip-filter.active {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-700);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-50) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-200);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card.priority-alta::after {
    background: var(--gradient-warning);
}

.product-card.priority-urgente::after {
    background: var(--gradient-error);
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.product-client {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.days-badge {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover .days-badge {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.days-badge.warning {
    background: var(--warning-100);
    color: var(--warning-700);
}

.days-badge.danger {
    background: var(--error-100);
    color: var(--error-700);
    animation: pulse 2s ease-in-out infinite;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover .priority-badge {
    transform: scale(1.05);
}

.priority-normal {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.priority-alta {
    background: var(--warning-100);
    color: var(--warning-700);
    border: 1px solid var(--warning-200);
}

.priority-urgente {
    background: var(--error-100);
    color: var(--error-700);
    border: 1px solid var(--error-200);
}

.product-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--surface-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 0.625rem;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.detail-row:hover {
    background: var(--surface-hover);
    transform: translateX(4px);
    border-color: var(--primary-200);
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-icon {
    color: var(--primary-500);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.product-icon {
    color: var(--primary-500);
    margin-right: 0.5rem;
}

.separator {
    color: var(--text-muted);
    font-weight: 400;
    margin: 0 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-action {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn-action:hover::before {
    width: 300px;
    height: 300px;
}

.btn-complete {
    background: var(--gradient-success);
    color: white;
}

.btn-complete:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-complete:active {
    transform: translateY(0) scale(0.98);
}

.btn-delete {
    background: var(--gradient-error);
    color: white;
}

.btn-delete:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-delete:active {
    transform: translateY(0) scale(0.98);
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--background);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(2rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header-detailed {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-detailed h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--neutral-100);
    color: var(--text-primary);
}

.modal-body-detailed {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* ===== NOTIFICATION PANEL ===== */
.notification-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--background);
    border-left: 1px solid var(--border);
    z-index: 1500;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.notification-panel.active {
    right: 0;
}

.notification-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.close-notifications {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.close-notifications:hover {
    background: var(--neutral-100);
    color: var(--text-primary);
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== FORM STYLES ===== */
.form-container {
    background: var(--gradient-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.form-header {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.form-header-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-blue);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.form-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-description {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.premium-form {
    animation: slideInUp 0.6s ease;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.8125rem;
}

.form-label i {
    color: var(--primary-500);
    font-size: 1rem;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 0.9375rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    font-family: inherit;
    font-weight: 500;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input:hover {
    border-color: var(--primary-300);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-50);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    min-width: 160px;
    justify-content: center;
}

/* Form Validation States */
.form-input:invalid:not(:placeholder-shown) {
    border-color: var(--error-500);
}

.form-input:valid:not(:placeholder-shown) {
    border-color: var(--success-500);
}

/* Form Field Animation */
.form-field {
    animation: fadeIn 0.5s ease;
}

.form-field:nth-child(1) { animation-delay: 0.1s; }
.form-field:nth-child(2) { animation-delay: 0.15s; }
.form-field:nth-child(3) { animation-delay: 0.2s; }
.form-field:nth-child(4) { animation-delay: 0.25s; }
.form-field:nth-child(5) { animation-delay: 0.3s; }
.form-field:nth-child(6) { animation-delay: 0.35s; }

/* Responsive Form */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-header {
        flex-direction: column;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
    }
    
    /* API Status responsive */
    .api-status-text {
        display: none;
    }
    
    .api-status {
        padding: 0.5rem;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }
    
    .top-header {
        padding: 0 1rem;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-actions {
        justify-content: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        flex: 1;
        justify-content: center;
    }
    
    .notification-panel {
        width: 100%;
        right: -100%;
    }
    
    .modal-container {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

/* ===== DARK MODE ===== */
body.dark-mode {
    /* Dark Mode Colors */
    --background: #0f172a;
    --surface: #1e293b;
    --surface-secondary: #0a0f1e;
    --surface-hover: #334155;
    --border: #334155;
    --border-light: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Dark Mode Gradients */
    --gradient-surface: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    
    /* Enhanced Shadows for Dark Mode */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.5), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 24px -4px rgba(0, 0, 0, 0.6), 0 4px 12px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 8px 16px -6px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.4);
}

/* Dark Mode Specific Adjustments */
body.dark-mode .sidebar {
    background: var(--gradient-surface);
    box-shadow: var(--shadow-xl);
}

body.dark-mode .stat-card,
body.dark-mode .product-card,
body.dark-mode .form-container,
body.dark-mode .products-filters {
    background: var(--gradient-surface);
    border-color: var(--border);
}

body.dark-mode .stat-card:hover,
body.dark-mode .product-card:hover {
    border-color: var(--primary-500);
}

body.dark-mode .detail-row {
    background: var(--surface);
}

body.dark-mode .menu-link:hover {
    background: rgba(59, 130, 246, 0.1);
}

body.dark-mode .header-btn:hover,
body.dark-mode .sidebar-toggle:hover {
    background: var(--surface-hover);
}

body.dark-mode .btn-secondary {
    background: var(--surface);
    border-color: var(--border);
}

body.dark-mode .btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary-500);
}

body.dark-mode .search-input,
body.dark-mode .filter-select,
body.dark-mode .form-input {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-primary);
}

body.dark-mode .search-input:focus,
body.dark-mode .filter-select:focus,
body.dark-mode .form-input:focus {
    background: var(--surface-hover);
    border-color: var(--primary-500);
}

body.dark-mode .modal-container {
    background: var(--surface);
}

body.dark-mode .notification-panel {
    background: var(--surface);
}

body.dark-mode .top-header {
    background: var(--gradient-surface);
    box-shadow: var(--shadow-md);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(3rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(3rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(3rem) scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-3rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Page Transition Animations */
.page-container > * {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-grid > .stat-card {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-grid > .stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.dashboard-grid > .stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.dashboard-grid > .stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.products-grid > .product-card {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid > .product-card:nth-child(odd) {
    animation-delay: 0.05s;
}

.products-grid > .product-card:nth-child(even) {
    animation-delay: 0.1s;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-400);
}

.stat-card.urgent .stat-icon {
    background: #e74c3c;
}

.stat-card.success .stat-icon {
    background: #27ae60;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.form-section h2 i {
    color: #27ae60;
}

.produto-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

/* Products Section */
.products-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.section-header h2 i {
    color: #3498db;
}

.filters select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-size: 0.9rem;
    cursor: pointer;
}

.filters select:focus {
    outline: none;
    border-color: #3498db;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card.priority-alta {
    border-left-color: #f39c12;
}

.product-card.priority-urgente {
    border-left-color: #e74c3c;
}

.product-card.days-warning {
    background: linear-gradient(135deg, #fff3cd, #ffffff);
    border-left-color: #f39c12;
}

.product-card.days-danger {
    background: linear-gradient(135deg, #f8d7da, #ffffff);
    border-left-color: #e74c3c;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.days-badge {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.days-badge.warning {
    background: #f39c12;
}

.days-badge.danger {
    background: #e74c3c;
}

.priority-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-normal {
    background: #ecf0f1;
    color: #7f8c8d;
}

.priority-alta {
    background: #fef9e7;
    color: #f39c12;
}

.priority-urgente {
    background: #fadbd8;
    color: #e74c3c;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-value {
    color: #2c3e50;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-action {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-complete {
    background: #27ae60;
    color: white;
}

.btn-complete:hover {
    background: #229954;
    transform: translateY(-1px);
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #95a5a6;
}

.empty-state p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-status {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .product-actions {
        justify-content: flex-start;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease;
}

/* Toolbar */
.toolbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-section {
    flex: 1;
    min-width: 300px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: #7f8c8d;
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-clear-search {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-clear-search:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== TOAST NOTIFICATIONS (PREMIUM STYLE) ===== */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    min-width: 360px;
    max-width: 480px;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(20px);
    animation: slideInUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.toast-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    flex-shrink: 0;
}

.toast-icon i {
    font-size: 1.5rem;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.5;
    display: block;
}

.toast-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ===== LOADING SPINNER (PREMIUM STYLE) ===== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

.loader-text {
    position: absolute;
    margin-top: 100px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===== SKELETON LOADER ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-100) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-lg);
}

.skeleton-card {
    height: 200px;
    margin-bottom: 1.5rem;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

/* ===== ENHANCED MODAL STYLES ===== */
.modal-overlay {
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== MODAL DETALHADO (PREMIUM) ===== */
.modal-detalhado {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 2px solid var(--border-light);
    background: var(--gradient-surface);
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modal-icon-badge {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.modal-icon-badge.priority-normal {
    background: var(--success-100);
    color: var(--success-700);
}

.modal-icon-badge.priority-alta {
    background: var(--warning-100);
    color: var(--warning-700);
}

.modal-icon-badge.priority-urgente {
    background: var(--error-100);
    color: var(--error-700);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.modal-close-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    border: none;
    background: var(--surface-hover);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.modal-close-btn:hover {
    background: var(--error-100);
    color: var(--error-600);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-section {
    background: var(--surface-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.section-title i {
    color: var(--primary-500);
    font-size: 1.125rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item.info-full {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.priority-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.875rem;
}

.priority-badge-inline.priority-normal {
    background: var(--success-100);
    color: var(--success-700);
}

.priority-badge-inline.priority-alta {
    background: var(--warning-100);
    color: var(--warning-700);
}

.priority-badge-inline.priority-urgente {
    background: var(--error-100);
    color: var(--error-700);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-light);
    background: var(--surface-secondary);
}

.btn-modal {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-modal-secondary {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.btn-modal-secondary:hover {
    background: var(--neutral-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-modal-success {
    background: var(--gradient-success);
    color: white;
}

.btn-modal-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-modal-danger {
    background: var(--gradient-error);
    color: white;
}

.btn-modal-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== ENHANCED SCROLLBAR (DARK MODE) ===== */
body.dark-mode ::-webkit-scrollbar-track {
    background: var(--surface);
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: var(--neutral-600);
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-500);
}

/* ===== FOCUS VISIBLE (ACCESSIBILITY) ===== */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

body.dark-mode ::selection {
    background: var(--primary-700);
    color: var(--primary-50);
}

/* ===== ENHANCED HEADER ===== */
.top-header {
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-btn {
    position: relative;
}

.header-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: var(--primary-500);
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

.header-btn:hover::after {
    opacity: 0.1;
    transform: scale(1);
}

/* ===== ENHANCED FILTERS ===== */
.products-filters {
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.search-input,
.filter-select {
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* ===== ENHANCED FORM STYLES ===== */
.form-container {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ===== BADGE ANIMATIONS ===== */
.menu-badge {
    animation: pulse 2s ease-in-out infinite;
}

.notification-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== EMPTY STATE ENHANCED ===== */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===== UTILITY CLASSES ===== */
.blur-background {
    backdrop-filter: blur(10px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ===== PRINT STYLES ===== */
@media print {
    .sidebar,
    .top-header,
    .product-actions,
    .products-filters,
    .notification-panel,
    .overlay {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .product-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

.btn-toolbar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-toolbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.results-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.btn-clear-filters {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-clear-filters:hover {
    background: #e9ecef;
    color: #495057;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

/* Relatórios */
.relatorios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.relatorio-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #3498db;
}

.relatorio-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.relatorio-content {
    color: #495057;
    line-height: 1.6;
}

.relatorio-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-export,
.btn-print {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-export:hover,
.btn-print:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Modo Escuro */
body.dark-mode {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
}

.dark-mode .header,
.dark-mode .form-section,
.dark-mode .products-section,
.dark-mode .toolbar,
.dark-mode .stat-card {
    background: rgba(52, 73, 94, 0.95);
    color: #ecf0f1;
}

.dark-mode .product-card {
    background: #34495e;
    color: #ecf0f1;
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .search-box input,
.dark-mode .filters select {
    background: #2c3e50;
    color: #ecf0f1;
    border-color: #34495e;
}

.dark-mode .modal-content {
    background: #2c3e50;
    color: #ecf0f1;
}

.dark-mode .relatorio-card {
    background: #34495e;
    color: #ecf0f1;
}

/* Estatísticas do Relatório */
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
}

.stat-value {
    font-weight: bold;
    color: #3498db;
}

.priority-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.priority-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.priority-bar-fill {
    height: 20px;
    border-radius: 10px;
    transition: width 0.3s ease;
    min-width: 20px;
}

.priority-urgente .priority-bar-fill {
    background: #e74c3c;
}

.priority-alta .priority-bar-fill {
    background: #f39c12;
}

.priority-normal .priority-bar-fill {
    background: #27ae60;
}

.priority-label {
    min-width: 60px;
    font-size: 0.9rem;
}

.priority-count {
    font-weight: bold;
    min-width: 30px;
}

/* Histórico */
.historico-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.historico-item:last-child {
    border-bottom: none;
}

.historico-info {
    flex: 1;
}

.historico-produto {
    font-weight: 500;
    color: #2c3e50;
}

.historico-cliente {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.historico-tempo {
    font-size: 0.8rem;
    color: #95a5a6;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive para novas funcionalidades */
@media (max-width: 768px) {
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-section {
        min-width: auto;
    }
    
    .toolbar-actions {
        justify-content: center;
    }
    
    .btn-toolbar {
        flex: 1;
        justify-content: center;
    }
    
    .results-info {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .relatorios-grid {
        grid-template-columns: 1fr;
    }
    
    .relatorio-actions {
        flex-direction: column;
    }
}

/* Modal Status Section */
.modal-status-section {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border: 2px solid var(--primary-200);
}

.status-selector-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.current-status-display {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.status-display-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-display-icon {
    font-size: 2rem;
    color: var(--primary-600);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-display-header > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-display-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-display-value {
    font-size: 1.125rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-display-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.status-display-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.status-selector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-selector-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-selector-label i {
    color: var(--primary-500);
}

.status-selector {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: all var(--transition-normal);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.status-selector:hover {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.status-selector:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.status-selector option {
    padding: 0.75rem;
    font-weight: 600;
}

/* Dark Mode - Modal Status */
body.dark-mode .modal-status-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .current-status-display {
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .status-display-icon {
    color: var(--primary-400);
}

body.dark-mode .status-selector {
    background-color: var(--surface);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

body.dark-mode .status-selector:hover {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

body.dark-mode .status-selector:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}
