/* Layout Principal */
.admin-layout {
    display: flex;
    height: 100vh;
    background: #F8FAFC;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #1E2229;
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #E65100;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-link.active {
    background: rgba(230, 81, 0, 0.1);
    color: #E65100;
    border-left-color: #E65100;
}

.nav-link i {
    width: 20px;
    text-align: center;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back-site {
    background: linear-gradient(135deg, #FF5722 0%, #E65100 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2);
}

.btn-back-site:hover {
    background: linear-gradient(135deg, #E65100 0%, #D84315 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-back-site:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2);
}

.btn-back-site i {
    font-size: 1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    background: white;
}

/* Top Bar */
.top-bar {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
}

.menu-toggle:hover {
    background: #F8FAFC;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF5722;
}

.user-name {
    font-weight: 500;
    color: #1E293B;
}

.btn-logout-top {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.btn-logout-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

/* Content Area */
.content-area {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    min-height: 100vh;
}

/* Sections */
.content-section {
    display: none;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-header h2 {
    margin: 0 0 0.75rem 0;
    font-size: 2.2rem;
    color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header h2 i {
    color: #FF5722;
    font-size: 1.8rem;
}

.section-header p {
    margin: 0;
    color: #64748B;
    font-size: 1.1rem;
    font-weight: 400;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color) 0%, var(--card-color-light) 100%);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--card-color);
}

.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    flex-shrink: 0;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 16px;
}

.stat-card:nth-child(1) {
    --card-color: #E65100;
    --card-color-light: #FF5722;
}

.stat-card:nth-child(2) {
    --card-color: #EF4444;
    --card-color-light: #F87171;
}

.stat-card:nth-child(3) {
    --card-color: #059669;
    --card-color-light: #10B981;
}

.stat-card:nth-child(4) {
    --card-color: #FB8C00;
    --card-color-light: #FBBF24;
}

.stat-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1;
}

.stat-info p {
    margin: 0;
    color: #64748B;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Orders Tabs */
.orders-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #64748B;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: #F8FAFC;
    color: #64748B;
}

.tab-btn.active {
    background: linear-gradient(135deg, #FF5722 0%, #E65100 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.tab-btn i {
    font-size: 1rem;
}

/* Tab Content */
.tab-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.active {
    display: block;
}

/* Orders Filters */
.orders-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

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

.filter-group label {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.9rem;
}

.filter-input {
    padding: 0.75rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-input:focus {
    outline: none;
    border-color: #FF5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.btn-primary {
    background: linear-gradient(135deg, #FF5722 0%, #E65100 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
    background: #64748B;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Empty State */
.empty-state-message {
    text-align: center;
    padding: 3rem;
    color: #64748B;
}

.empty-state-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #CBD5E1;
}

.empty-state-message h3 {
    margin: 0 0 0.5rem 0;
    color: #64748B;
}

.empty-state-message p {
    margin: 0;
    font-size: 0.95rem;
}
.form-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    margin-bottom: 2rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #CBD5E1;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.empty-state p {
    margin: 0;
}

/* Chart Container */
.chart-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #E2E8F0;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF5722 0%, #E65100 100%);
}

.chart-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.chart-header h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.6rem;
    color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
}

.chart-header h3 i {
    color: #FF5722;
}

.chart-header p {
    margin: 0;
    color: #64748B;
    font-size: 1rem;
    font-weight: 400;
}

.chart-wrapper {
    position: relative;
    height: 320px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #F1F5F9;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.chart-wrapper canvas {
    max-height: 320px;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #F1F5F9;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #64748B;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.legend-color {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-value {
    font-weight: 700;
    color: #1E293B;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .content-area {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    
    .stat-info h3 {
        font-size: 1.8rem;
    }
    
    .stat-info p {
        font-size: 0.85rem;
    }
    
    .status-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .status-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .status-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .status-info h3 {
        font-size: 1.6rem;
    }
    
    .status-info p {
        font-size: 0.75rem;
    }
    
    .top-bar {
        padding: 1rem;
    }
    
    .user-name {
        display: none;
    }
    
    .btn-logout-top {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .chart-container {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .chart-wrapper {
        height: 250px;
        padding: 0.75rem;
    }
    
    .chart-header h3 {
        font-size: 1.3rem;
    }
    
    .chart-legend {
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .legend-item {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    
    .page-title {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
}

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

/* Overlay para mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E65100;
    box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.15);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

/* Grid de Itens do Menu */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Cards de Itens */
.menu-item-card {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.menu-item-card h3 {
    color: #E65100;
    margin-bottom: 0.5rem;
    padding-right: 40px;
    font-size: 1.2rem;
}

.menu-item-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F87171;
    margin-bottom: 1rem;
}

.menu-item-card .description {
    color: #333;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.menu-item-card .category-badge {
    display: inline-block;
    background: #E65100;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Botão de Excluir */
.delete-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #DC2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    z-index: 10;
}

.delete-btn:hover {
    background: #DC2626;
    transform: scale(1.1);
}

.delete-btn:active {
    transform: scale(0.95);
}

/* Botões */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-primary {
    background: #E65100;
    color: white;
}

.btn-primary:hover {
    background: #D84315;
}

.btn-success {
    background: #10B981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #DC2626;
    color: white;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-warning {
    background: #FB8C00;
    color: white;
}

.btn-warning:hover {
    background: #EA580C;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Menu Controls */
.menu-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar {
    flex: 1;
    min-width: 250px;
}

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

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #666;
    z-index: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #E65100;
    box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.15);
}

.filter-controls {
    min-width: 200px;
}

.filter-controls select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
}

.filter-controls select:focus {
    outline: none;
    border-color: #E65100;
    box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.15);
}

.view-toggle {
    display: flex;
}

.btn-outline {
    background: transparent;
    border: 1px solid #E65100;
    color: #E65100;
}

.btn-outline:hover {
    background: #E65100;
    color: white;
}

.btn-outline.active {
    background: #E65100;
    color: white;
    border-color: #E65100;
}

/* Formulário de Adicionar Item */
.add-item-form {
    background: #F8FAFC;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-header {
    background: #E65100;
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.form-header:hover {
    background: #D84315;
}

.form-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-header i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.form-header.expanded i.fa-chevron-down {
    transform: rotate(180deg);
}

.form-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.form-content.expanded {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* View Modes */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsividade do Grid */
@media (max-width: 768px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1200px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1400px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
    }
}

.menu-items-list .menu-item-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.menu-items-list .menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-items-list .menu-item-info {
    flex: 1;
}

.menu-items-list .menu-item-price {
    font-weight: 700;
    color: #F87171;
    margin-bottom: 0.25rem;
}

.menu-items-list .menu-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.menu-items-list .menu-item-category {
    font-size: 0.8rem;
    color: #666;
    background: #E2E8F0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.menu-items-list .menu-item-actions {
    display: flex;
    gap: 0.5rem;
}

.menu-items-list .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification.success {
    background: #10B981;
}

.notification.error {
    background: #DC2626;
}

.notification.warning {
    background: #FB8C00;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}

/* Status Stats Grid */
.status-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.status-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--status-color) 0%, var(--status-color-light) 100%);
    opacity: 0.8;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.status-card.pending {
    --status-color: #F59E0B;
    --status-color-light: #F6AD55;
    border-left-color: #F59E0B;
}

.status-card.confirmed {
    --status-color: #0891B2;
    --status-color-light: #67E8F9;
    border-left-color: #0891B2;
}

.status-card.delivering {
    --status-color: #059669;
    --status-color-light: #10B981;
    border-left-color: #059669;
}

.status-card.delivered {
    --status-color: #10B981;
    --status-color-light: #059669;
    border-left-color: #10B981;
}

.status-card.cancelled {
    --status-color: #EF4444;
    --status-color-light: #F87171;
    border-left-color: #EF4444;
}

.status-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    border-radius: 14px;
}

.status-card.pending .status-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #F6AD55 100%);
}

.status-card.confirmed .status-icon {
    background: linear-gradient(135deg, #0891B2 0%, #67E8F9 100%);
}

.status-card.delivering .status-icon {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.status-card.delivered .status-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.status-card.cancelled .status-icon {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.status-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #1E293B;
    line-height: 1;
}

.status-info p {
    margin: 0.25rem 0 0 0;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .admin-section {
        padding: 1rem;
    }
    
    .menu-item-card {
        padding: 1rem;
    }
    
    .delete-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .menu-item-card h3 {
        padding-right: 35px;
        font-size: 1.1rem;
    }
}

/* Estados de validação */
.form-group input:valid {
    border-color: #E65100;
}

/* Estados de Loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #F1F5F9;
    border-top: 2px solid #E65100;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: #E65100;
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #F8FAFC;
    border-radius: 0 0 12px 12px;
}

/* Responsividade do Modal */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Ícones Flaticon */
.fi.fi-rr-hamburger,
.fi.fi-rr-croissant,
.fi.fi-rr-pizza-slice,
.fi.fi-rr-french-fries,
.fi.fi-rr-drink-alt,
.fi.fi-rr-cake-slice,
.fi.fi-rr-gift,
.fi.fi-rr-star {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
}
.category-badge .fi,
.menu-item-category .fi {
    margin-right: 0.25rem;
}
