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

.login-container {
    max-width: 420px;
    margin: 80px auto;
}

.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
}
.stat-card .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Tabela de importação com linhas alternadas */
.table-import {
    border-radius: 8px;
    overflow: hidden;
}
.table-import thead th {
    background-color: #343a40;
    color: #fff;
    border: none;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.85rem;
}
.table-import tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}
.table-import tbody tr:nth-child(even) {
    background-color: #e9ecef;
}
.table-import tbody tr:hover {
    background-color: #dee2e6;
}
.table-import tbody td {
    padding: 10px 8px;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: middle;
}

/* Checkbox de coluna */
.col-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.col-checkbox-wrapper .form-check-input {
    width: 1.2em;
    height: 1.2em;
}
.col-checkbox-wrapper select {
    font-size: 0.78rem;
    padding: 2px 4px;
    max-width: 130px;
}

.upload-area {
    border: 2px dashed #6c757d;
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}
.upload-area:hover {
    border-color: #0d6efd;
    background: #f0f6ff;
}
.upload-area i {
    font-size: 3rem;
    color: #6c757d;
}

.badge-pendente { background-color: #ffc107; color: #000; }
.badge-conferido { background-color: #198754; }
.badge-divergente { background-color: #dc3545; }
.badge-em_conferencia { background-color: #0dcaf0; color: #000; }

.action-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s;
}
.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

/* ===========================
   WMS Sidebar Layout
   =========================== */
:root {
    --wms-sidebar-w: 240px;
    --wms-bg: #1e3a5f;
    --wms-bg-dark: #15263f;
    --wms-accent: #ffc107;
}

.wms-topbar {
    display: flex;
    align-items: center;
    background: var(--wms-bg-dark);
    color: #fff;
    padding: .5rem 1rem;
}

.wms-sidebar {
    background: linear-gradient(180deg, var(--wms-bg) 0%, var(--wms-bg-dark) 100%);
    width: var(--wms-sidebar-w);
    display: flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .wms-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1030;
    }
    .wms-main {
        margin-left: var(--wms-sidebar-w);
    }
}

.wms-brand {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wms-user {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wms-nav {
    list-style: none;
    padding: .5rem 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}
.wms-nav li a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1.2rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all .15s;
}
.wms-nav li a i { width: 18px; text-align: center; }
.wms-nav li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.wms-nav li a.active {
    background: rgba(255,193,7,0.15);
    color: var(--wms-accent);
    border-left-color: var(--wms-accent);
    font-weight: 600;
}
.wms-logout {
    display: block;
    padding: .8rem 1.2rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.wms-logout:hover { background: rgba(220,53,69,0.2); color: #fff; }

.wms-main {
    min-height: 100vh;
    background: #f4f6f9;
}
