:root {
    --tp-black: #1a1a1a;
    --tp-gold: #c9a961;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Login */
.login-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container { width: 100%; padding: 20px; }

.login-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
    max-width: 200px;
    height: auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

/* Navbar - Logo */
.navbar-brand img.brand-logo {
    height: 40px;
    width: auto;
    background: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    object-fit: contain;
}

/* Cards de Status (agora clicáveis) */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    color: inherit !important;
    text-decoration: none !important;
}

.stat-arrow {
    margin-left: auto;
    color: #adb5bd;
    font-size: 14px;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-info h3 {
    margin: 0;
    font-weight: 700;
    color: var(--tp-black);
}

.stat-info small {
    color: #6c757d;
    font-size: 12px;
}

/* Botão flutuante - Novo Pedido */
.fab-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--tp-black);
    color: #fff;
    padding: 15px 24px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, background 0.2s;
}

.fab-btn:hover {
    transform: scale(1.06);
    background: #000;
    color: #fff;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-header {
    background: white;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
}

/* Tabelas */
.table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botões */
.btn-dark {
    background-color: var(--tp-black);
    border-color: var(--tp-black);
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Responsivo */
@media (max-width: 768px) {
    .stat-card { padding: 15px; }
    .stat-icon { width: 45px; height: 45px; font-size: 18px; }
    .stat-info h3 { font-size: 20px; }
    .login-card { padding: 25px; }
    .table { font-size: 13px; }
    .fab-btn { padding: 12px 18px; font-size: 14px; bottom: 18px; right: 18px; }
}

@media print {
    .navbar, .no-print, .fab-btn { display: none !important; }
}
