/* ============================================
   GESTÃO DE PEDIDOS - PADARIA
   Design System & Complete Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0b10;
    --bg-secondary: #12141d;
    --bg-card: #1a1d2b;
    --bg-card-hover: #222538;
    --bg-input: #151722;
    --bg-sidebar: #0e1018;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-focus: #f5a623;

    --text-primary: #f0f0f5;
    --text-secondary: #8b8fa8;
    --text-muted: #555872;

    --accent: #f5a623;
    --accent-light: #ffc857;
    --accent-dark: #c4841a;

    --status-aguardando: #f59e0b;
    --status-aguardando-bg: rgba(245, 158, 11, 0.12);
    --status-producao: #3b82f6;
    --status-producao-bg: rgba(59, 130, 246, 0.12);
    --status-entregue: #10b981;
    --status-entregue-bg: rgba(16, 185, 129, 0.12);
    --status-cancelado: #ef4444;
    --status-cancelado-bg: rgba(239, 68, 68, 0.12);

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow-amber: 0 0 20px rgba(245, 166, 35, 0.15);
    --shadow-glow-red: 0 0 15px rgba(239, 68, 68, 0.4);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --sidebar-width: 260px;
    --header-height: 72px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Global --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* --- Layout --- */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform var(--transition-normal);
}

.sidebar-logo {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo-icon {
    font-size: 2rem;
    line-height: 1;
}

.sidebar-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px;
    flex: 1;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.sidebar-nav-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.sidebar-nav-item.active {
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent);
    font-weight: 600;
}

.sidebar-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

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

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    overflow-y: auto;
    min-height: 100vh;
}

/* Header */
.header {
    height: var(--header-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 50;
}

.header-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-input-wrapper input {
    padding-left: 44px;
    width: 280px;
}

/* --- Dashboard Stats --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-left: 4px solid var(--text-muted);
    transition: all var(--transition-normal);
    cursor: default;
}

.stat-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.stat-card.aguardando { border-left-color: var(--status-aguardando); }
.stat-card.producao { border-left-color: var(--status-producao); }
.stat-card.entregue { border-left-color: var(--status-entregue); }
.stat-card.cancelado { border-left-color: var(--status-cancelado); }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-card.aguardando .stat-number { color: var(--status-aguardando); }
.stat-card.producao .stat-number { color: var(--status-producao); }
.stat-card.entregue .stat-number { color: var(--status-entregue); }
.stat-card.cancelado .stat-number { color: var(--status-cancelado); }

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 24px 16px;
}

.filter-chip {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-chip:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.filter-chip.active {
    background: var(--accent);
    color: #0a0b10;
    border-color: var(--accent);
    font-weight: 600;
}

/* --- Kanban Board --- */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 24px 24px;
}

.kanban-column {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 16px;
    min-height: 60vh;
    border: 1px solid var(--border-color);
}

.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.column-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-title i {
    font-size: 0.85rem;
}

.column-title.aguardando i { color: var(--status-aguardando); }
.column-title.producao i { color: var(--status-producao); }
.column-title.entregue i { color: var(--status-entregue); }
.column-title.cancelado i { color: var(--status-cancelado); }

.column-count {
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.column-count.aguardando { background: var(--status-aguardando-bg); color: var(--status-aguardando); }
.column-count.producao { background: var(--status-producao-bg); color: var(--status-producao); }
.column-count.entregue { background: var(--status-entregue-bg); color: var(--status-entregue); }
.column-count.cancelado { background: var(--status-cancelado-bg); color: var(--status-cancelado); }

/* --- Order Card --- */
.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.3s ease forwards;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.order-card.aguardando::before { background: var(--status-aguardando); }
.order-card.producao::before { background: var(--status-producao); }
.order-card.entregue::before { background: var(--status-entregue); }
.order-card.cancelado::before { background: var(--status-cancelado); }

.order-card.aguardando:hover { border-color: var(--status-aguardando); }
.order-card.producao:hover { border-color: var(--status-producao); }
.order-card.entregue:hover { border-color: var(--status-entregue); }
.order-card.cancelado:hover { border-color: var(--status-cancelado); }

/* Animation Keyframes for Late Orders */
@keyframes pulseRedBorder {
    0%, 100% {
        border-color: #ef4444;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.85), inset 0 0 10px rgba(239, 68, 68, 0.2);
    }
    50% {
        border-color: #b91c1c;
        box-shadow: 0 0 6px rgba(239, 68, 68, 0.3), inset 0 0 2px rgba(239, 68, 68, 0.05);
    }
}

@keyframes blinkBorder {
    0%, 100% {
        border-color: #ef4444;
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
    }
    50% {
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 4px rgba(239, 68, 68, 0.1);
    }
}

@keyframes blinkBg {
    0%, 100% { background-color: #ef4444; }
    50% { background-color: rgba(239, 68, 68, 0.3); }
}

@keyframes pulseRedGlow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.9);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.2);
    }
}

/* Late order - blinking red border */
.order-card.atrasado {
    border: 2px solid #ef4444 !important;
    animation: blinkBorder 1.5s ease-in-out infinite !important;
    box-shadow: var(--shadow-glow-red);
}

.order-card.atrasado::before {
    background: var(--status-cancelado);
    animation: blinkBg 1.5s ease-in-out infinite;
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.order-type-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.order-type-badge.bolo {
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
}

.order-type-badge.padaria {
    background: rgba(59, 130, 246, 0.15);
    color: var(--status-producao);
}

.order-client {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.order-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.order-time.atrasado {
    color: var(--status-cancelado);
    font-weight: 600;
}

.order-loja {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-input);
    padding: 2px 8px;
    border-radius: 4px;
}

.order-entrega-icon {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Late indicator badge */
.late-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--status-cancelado);
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

/* --- Status Badge --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-badge.aguardando {
    background: var(--status-aguardando-bg);
    color: var(--status-aguardando);
}

.status-badge.aguardando::before {
    animation: pulse 2s infinite;
}

.status-badge.producao {
    background: var(--status-producao-bg);
    color: var(--status-producao);
}

.status-badge.entregue {
    background: var(--status-entregue-bg);
    color: var(--status-entregue);
}

.status-badge.cancelado {
    background: var(--status-cancelado-bg);
    color: var(--status-cancelado);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 4px;
}

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

.modal-section {
    margin-bottom: 24px;
}

.modal-section-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.modal-status-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-status-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    text-align: center;
    font-family: var(--font-primary);
    background: var(--bg-card);
    color: var(--text-secondary);
    min-width: 110px;
}

.modal-status-btn:hover {
    transform: scale(1.02);
}

.modal-status-btn.aguardando.active {
    border-color: var(--status-aguardando);
    background: var(--status-aguardando-bg);
    color: var(--status-aguardando);
}

.modal-status-btn.producao.active {
    border-color: var(--status-producao);
    background: var(--status-producao-bg);
    color: var(--status-producao);
}

.modal-status-btn.entregue.active {
    border-color: var(--status-entregue);
    background: var(--status-entregue-bg);
    color: var(--status-entregue);
}

.modal-status-btn.cancelado.active {
    border-color: var(--status-cancelado);
    background: var(--status-cancelado-bg);
    color: var(--status-cancelado);
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
}

.modal-detail-row:last-child {
    border-bottom: none;
}

.modal-detail-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-shrink: 0;
    min-width: 120px;
}

.modal-detail-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.modal-history {
    margin-top: 20px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.history-item i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.history-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* --- Form --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
}

.form-page-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.form-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--accent);
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-label .required {
    color: var(--status-cancelado);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow-amber);
}

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

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-select {
    appearance: none;
    cursor: pointer;
    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='%238b8fa8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.form-radio-option:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-radio-option.selected {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.08);
}

.form-radio-option input[type="radio"],
.form-radio-option input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Premium toggle-card checkboxes (used in Settings print options) */
.form-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    user-select: none;
    position: relative;
}

.form-checkbox-option:hover {
    background: var(--bg-card-hover);
    border-color: rgba(245, 166, 35, 0.3);
}

.form-checkbox-option.selected {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.07);
    box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.15) inset;
}

/* Hide native checkbox */
.form-checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom checkbox box */
.form-checkbox-option::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-checkbox-option.selected::before {
    background: var(--accent);
    border-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 10px;
}

.form-checkbox-option:hover::before {
    border-color: rgba(245, 166, 35, 0.5);
}

.form-checkbox-option span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.form-checkbox-option.selected span {
    color: var(--text-primary);
}


.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-hint i {
    font-size: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-error {
    color: var(--status-cancelado);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Conditional section animation */
.form-conditional {
    overflow: hidden;
    transition: max-height var(--transition-slow), opacity var(--transition-normal);
    max-height: 0;
    opacity: 0;
}

.form-conditional.visible {
    max-height: 2000px;
    opacity: 1;
}

/* --- Buttons --- */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    text-decoration: none;
}

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

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--accent);
    color: #0a0b10;
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-light);
    box-shadow: var(--shadow-glow-amber);
}

.btn-danger {
    background: var(--status-cancelado);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* --- Login --- */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
}

.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    animation: slideUp 0.5s ease;
}

.login-logo {
    font-size: 4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.login-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.login-input {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 4px;
    padding: 16px;
}

.login-error {
    color: var(--status-cancelado);
    font-size: 0.85rem;
    margin-top: 12px;
    animation: shake 0.5s ease;
}

/* --- Toast --- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 420px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.toast.success {
    border-left: 4px solid var(--status-entregue);
}

.toast.error {
    border-left: 4px solid var(--status-cancelado);
}

.toast.info {
    border-left: 4px solid var(--status-producao);
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--status-entregue); }
.toast.error .toast-icon { color: var(--status-cancelado); }
.toast.info .toast-icon { color: var(--status-producao); }

.toast-message {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* --- Confirm Dialog --- */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    animation: fadeIn 0.2s ease;
}

.confirm-dialog {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
}

.confirm-dialog i {
    font-size: 2.5rem;
    color: var(--status-cancelado);
    margin-bottom: 16px;
}

.confirm-dialog p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.confirm-dialog .confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* --- Empty State --- */
.empty-column {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-column i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

.empty-column p {
    font-size: 0.85rem;
}

/* --- Loading Spinner --- */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

/* --- Bottom Nav (Mobile/Tablet) --- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 100;
    justify-content: space-around;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 16px;
    border: none;
    background: none;
    font-family: var(--font-primary);
    transition: color var(--transition-fast);
}

.bottom-nav-item.active {
    color: var(--accent);
}

.bottom-nav-item i {
    font-size: 1.2rem;
}

/* --- Animations --- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@keyframes blinkBorder {
    0%, 100% { 
        border-color: var(--status-cancelado);
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    }
    50% { 
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.1);
    }
}

@keyframes pulseLate {
    0%, 100% {
        border-color: #ef4444;
        box-shadow: 0 0 0 3px rgba(239,68,68,0.3), 0 0 24px rgba(239,68,68,0.4);
    }
    50% {
        border-color: rgba(239,68,68,0.5);
        box-shadow: 0 0 0 1px rgba(239,68,68,0.1), 0 0 8px rgba(239,68,68,0.15);
    }
}

@keyframes pulseRedGlow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(239,68,68,0.25), 0 0 20px rgba(239,68,68,0.4);
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 0 1px rgba(239,68,68,0.05), 0 0 6px rgba(239,68,68,0.1);
    }
}

@keyframes blinkBg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Responsive: TV (1920px+) --- */
@media (min-width: 1920px) {
    .kanban-board {
        gap: 24px;
    }
    .stat-card .stat-number {
        font-size: 3rem;
    }
    .order-card {
        padding: 20px;
    }
    .header-title {
        font-size: 1.6rem;
    }
    .dashboard-stats {
        gap: 24px;
    }
}

/* --- Responsive: Tablet (max 1024px) --- */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
        padding-bottom: 80px;
    }
    .bottom-nav {
        display: flex;
    }
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .search-input-wrapper input {
        width: 200px;
    }
}

/* --- Responsive: Mobile (max 640px) --- */
@media (max-width: 640px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .kanban-board {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 16px;
        max-height: 90vh;
    }
    .modal-status-buttons {
        flex-direction: column;
    }
    .form-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 16px;
    }
    .header {
        padding: 12px 16px;
    }
    .header-title {
        font-size: 1.1rem;
    }
    .login-card {
        padding: 32px 24px;
    }
    .filter-bar {
        padding: 0 16px 12px;
    }
    .toast {
        min-width: auto;
        max-width: calc(100vw - 48px);
    }
    .toast-container {
        right: 12px;
        left: 12px;
    }
    .search-input-wrapper input {
        width: 160px;
    }
    .modal-status-btn {
        min-width: auto;
    }
    .form-radio-group {
        flex-direction: column;
    }
}

/* --- Light Theme & Dark Theme Explicit Declarations --- */
[data-theme="light"] {
    --bg-primary: #f7f3f2;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfcfc;
    --bg-input: #f1efef;
    --bg-sidebar: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1d2b;
    --text-secondary: #4a4d63;
    --text-muted: #8b8fa8;
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-primary: #0a0b10;
    --bg-secondary: #12141d;
    --bg-card: #1a1d2b;
    --bg-card-hover: #222538;
    --bg-input: #151722;
    --bg-sidebar: #0e1018;
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: #8b8fa8;
    --text-muted: #555872;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .sidebar {
    background: var(--bg-sidebar);
}

#print-section {
    display: none;
}

/* --- Theme Toggle & Presentation Mode Buttons --- */
.theme-toggle-btn, .presentation-toggle-btn, .print-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}
.theme-toggle-btn:hover, .presentation-toggle-btn:hover, .print-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

/* --- Presentation Mode --- */
body.presentation-mode .sidebar { display: none; }
body.presentation-mode .header { display: none; }
body.presentation-mode .filter-bar { display: none; }
body.presentation-mode .bottom-nav { display: none; }
body.presentation-mode .dashboard-stats { display: none; }
body.presentation-mode .main-content {
    margin-left: 0 !important;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

body.presentation-mode .kanban-board {
    grid-template-columns: 1fr;
    flex: 1;
    overflow: hidden;
}

body.presentation-mode .kanban-column:not(.col-producao) {
    display: none !important;
}

/* TV Carousel */
.tv-carousel-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px 40px;
    position: relative;
}

.tv-carousel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .tv-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tv-carousel-container {
        padding: 16px 20px;
    }
}

@media (max-width: 640px) {
    .tv-carousel-grid {
        grid-template-columns: 1fr;
    }
    .tv-stats-bar {
        padding: 0 12px !important;
        font-size: 0.85rem !important;
    }
    .tv-clock {
        font-size: 1.2rem !important;
        padding-left: 8px !important;
    }
}

.tv-carousel-card .order-card-detailed {
    font-size: 1.15rem;
    padding: 28px;
    border-radius: 16px;
    border-width: 2px;
}

.tv-carousel-card .order-card-detailed-client {
    font-size: 1.6rem;
}

.tv-carousel-card .order-card-detailed-product-title {
    font-size: 1.2rem;
}

.tv-carousel-card .order-card-delivery-value {
    font-size: 1.1rem;
}

.tv-carousel-card .order-card-delivery-label {
    font-size: 0.9rem;
}

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

@keyframes slideOutToLeft {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-120%); }
}

.slide-in {
    animation: slideInFromRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide-out {
    animation: slideOutToLeft 0.5s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

/* Progress bar */
.tv-progress-bar {
    width: 100%;
    margin: 16px 0 0;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.tv-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: progressFill linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* TV Nav Controls */
.tv-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 12px 0 4px;
}

.tv-nav-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.tv-nav-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}

.tv-nav-info {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    min-width: 60px;
    text-align: center;
}

/* TV Stats Bar */
.tv-stats-bar {
    display: none;
}

body.presentation-mode .tv-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--accent);
    padding: 0 24px;
    height: 56px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.tv-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    height: 100%;
}

.tv-stat-item:first-child { padding-left: 0; }

.tv-stat-item .tv-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.tv-stat-item.late .tv-stat-value {
    color: #ff4d4f;
    text-shadow: 0 0 10px rgba(255,77,79,0.6);
    animation: blinkBorder 1s ease-in-out infinite;
}

.tv-stat-item .tv-stat-label {
    font-size: 0.8rem;
    opacity: 0.85;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

.tv-clock {
    margin-left: auto;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    padding-left: 24px;
}

.tv-theme-toggle-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-left: 16px;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.tv-theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.35);
    transform: scale(1.08);
}
body.presentation-mode .kanban-board { padding-top: 24px; }
body.presentation-mode .presentation-exit-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}
body:not(.presentation-mode) .presentation-exit-btn { display: none; }

/* --- Enhanced OrderCard (Print Match) --- */
.order-card-detailed {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    animation: cardAppear 0.3s ease forwards;
}
.order-card-detailed:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.order-card-detailed.atrasado {
    border: 3px solid #ef4444 !important;
    animation: pulseRedBorder 1.4s ease-in-out infinite !important;
    position: relative;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.6) !important;
}

.order-card-detailed.atrasado::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid #ef4444;
    animation: pulseRedGlow 1.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.order-card-detailed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.order-card-detailed-client {
    font-size: 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.2;
}
.order-card-detailed-product {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 12px;
}
[data-theme="light"] .order-card-detailed-product {
    background: rgba(59, 130, 246, 0.08);
}
.order-card-detailed-product-title {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}
.order-card-detailed-product-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}
.order-card-detailed-delivery {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.order-card-delivery-item {
    display: flex;
    flex-direction: column;
}
.order-card-delivery-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.order-card-delivery-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.order-card-delivery-value.purple {
    color: #9333ea;
}
[data-theme="light"] .order-card-delivery-value.purple {
    color: #8b5cf6;
}

/* --- Audit Logs --- */
.audit-container {
    padding: 24px;
}
.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.audit-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.audit-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}
.audit-table {
    width: 100%;
    border-collapse: collapse;
}
.audit-table th, .audit-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.audit-table th {
    background: var(--bg-secondary);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.audit-table tr:last-child td {
    border-bottom: none;
}
.audit-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}
.audit-badge.LOGIN { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.audit-badge.CRIAR_PEDIDO { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.audit-badge.EDITAR_PEDIDO { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.audit-badge.ALTERAR_STATUS { background: rgba(147, 51, 234, 0.15); color: #9333ea; }
.audit-badge.EXCLUIR_PEDIDO { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* Edit button in modal */
.edit-btn-header {
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.edit-btn-header:hover {
    background: var(--accent);
    color: #000;
}

/* --- Print 80mm Ticket --- */
#print-section {
    display: none;
}

@media print {
    @page {
        size: 80mm auto;
        margin: 0;
    }
    
    html, body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 80mm !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: max-content !important;
        overflow: visible !important;
    }

    /* Hide ALL body elements by default using display: none */
    body * {
        display: none !important;
    }

    /* Keep parent wrapper chain active for layout rendering */
    #root, .app-container, .main-content, .form-container, form, .modal-overlay, .modal-content {
        display: block !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        min-height: 0 !important;
        height: auto !important;
        width: 80mm !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Show only #print-section and its contents */
    #print-section, #print-section * {
        display: block !important;
        visibility: visible !important;
        color: #000000 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    #print-section {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 74mm !important;
        padding: 3mm !important;
        font-family: 'Courier New', Courier, monospace !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        color: #000000 !important;
        background: #ffffff !important;
    }

    #print-section .print-header {
        text-align: center !important;
        font-weight: bold !important;
        font-size: 15px !important;
        margin-bottom: 8px !important;
        border-bottom: 1px dashed #000 !important;
        padding-bottom: 8px !important;
    }

    #print-section .print-row {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    #print-section .print-divider {
        border-top: 1px dashed #000 !important;
        margin: 8px 0 !important;
    }

    #print-section .print-bold {
        font-weight: bold !important;
    }
}
