/* global_theme.css - TEMA DELIVERY */
:root {
    /* Cores Delivery */
    --delivery-green: #10B981;
    --delivery-green-dark: #059669;
    --delivery-orange: #F97316;
    --delivery-orange-light: #FB923C;
    --delivery-blue: #3B82F6;
    --delivery-red: #EF4444;
    
    /* Neutras */
    --neutral-white: #FFFFFF;
    --neutral-light: #F3F4F6;
    --neutral-gray: #6B7280;
    --neutral-dark: #1F2937;
    --neutral-darker: #111827;
    
    /* Backgrounds */
    --bg-light: #F9FAFB;
    --bg-card: #FFFFFF;
    --bg-hover: #F3F4F6;
    
    /* Text */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #FFFFFF;
    
    /* Accent */
    --accent-success: #10B981;
    --accent-warning: #F97316;
    --accent-danger: #EF4444;
    --accent-info: #3B82F6;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--neutral-light) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Estilos de Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-light);
}
::-webkit-scrollbar-thumb {
    background: var(--delivery-green);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--delivery-orange);
}

/* Header Delivery */
.modern-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--neutral-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    border-bottom: 3px solid var(--delivery-green);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--delivery-green) 0%, var(--delivery-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.modern-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modern-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--delivery-green), var(--delivery-orange));
    transition: width 0.3s ease;
}

.modern-nav a:hover::after {
    width: 100%;
}

.modern-nav a:hover {
    color: var(--delivery-green);
}

/* Botões Delivery */
.btn-modern {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 0.85rem;
}

.btn-neon-cyan {
    background: var(--delivery-green);
    border: 2px solid var(--delivery-green);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-neon-cyan:hover {
    background: var(--delivery-green-dark);
    border-color: var(--delivery-green-dark);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-neon-pink {
    background: linear-gradient(135deg, var(--delivery-orange), var(--delivery-orange-light));
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    border: none;
}

.btn-neon-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary {
    background: var(--delivery-green);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background: var(--delivery-green-dark);
}

.btn-secondary {
    background: var(--delivery-orange);
    color: var(--text-light);
    border: none;
}

.btn-secondary:hover {
    background: var(--delivery-orange-light);
}

/* Cards Delivery */
.modern-card {
    background: var(--bg-card);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.modern-card:hover {
    border-color: var(--delivery-green);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    transform: translateY(-4px);
}

/* Inputs Delivery */
.modern-input {
    background: var(--neutral-white);
    border: 2px solid #E5E7EB;
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-input:focus {
    outline: none;
    border-color: var(--delivery-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modern-input::placeholder {
    color: var(--text-secondary);
}

/* Tabelas Delivery */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.modern-table th {
    color: var(--text-light);
    background: var(--delivery-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 1rem;
    text-align: left;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
}

.modern-table tr {
    background: var(--bg-card);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.modern-table tr:hover {
    background: var(--bg-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.modern-table td {
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    color: var(--text-primary);
}

.modern-table td:first-child {
    border-left: 1px solid #E5E7EB;
    border-radius: 8px 0 0 8px;
}

.modern-table td:last-child {
    border-right: 1px solid #E5E7EB;
    border-radius: 0 8px 8px 0;
}

/* Status Badges */
.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--delivery-green-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-warning {
    background: rgba(249, 115, 22, 0.1);
    color: var(--delivery-orange);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--delivery-red);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsividade Global */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header-container {
        padding: 0 0.8rem;
    }
    
    .modern-logo {
        font-size: 1rem;
    }
    
    .btn-modern {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .modern-card {
        padding: 0.8rem;
    }
    
    .modern-input {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modern-table thead {
        display: none;
    }
    
    .modern-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
    }
    
    .modern-table td {
        display: block;
        text-align: right;
        padding: 0.8rem 1rem;
        border: none;
        border-bottom: 1px solid #E5E7EB;
    }
    
    .modern-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: var(--delivery-green);
        text-transform: uppercase;
        font-size: 0.7rem;
    }

    .modern-table img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        background: #fff;
        border-radius: 6px;
    }
    
    .modern-table td:last-child {
        border-bottom: none;
    }
}
