/* A_FBA_CONTROL — paleta y look identicos a A_AMAZON_LISTINGS */

body {
    background: #f8f8f8;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.alert {
    border-radius: 10px;
    border: none;
}

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Badges de estado */
.badge-status-completed   { background: #d4edda; color: #155724; }
.badge-status-pending     { background: #fff3cd; color: #856404; }
.badge-status-inprogress  { background: #cfe2ff; color: #084298; }
.badge-status-cancelled   { background: #f8d7da; color: #721c24; }
.badge-status-success     { background: #d1e7dd; color: #0a3622; }
.badge-status-failed      { background: #f8d7da; color: #721c24; }
.badge-status-running     { background: #cfe2ff; color: #084298; }
.badge-status-skipped     { background: #e2e3e5; color: #383d41; }
.badge-status-partial     { background: #fde9c1; color: #6c3a00; }

.badge-disposition-sellable    { background: #d4edda; color: #155724; }
.badge-disposition-unsellable  { background: #f8d7da; color: #721c24; }
.badge-disposition-damaged     { background: #fde9c1; color: #6c3a00; }

table th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 5;
    font-size: 0.85rem;
}

table td {
    font-size: 0.85rem;
}

code.small-code {
    font-size: 0.75rem;
    color: #495057;
}

.filter-bar {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* V2.2 — estados de la subida de stock */
.badge-status-draft       { background: #e2e3e5; color: #383d41; }
.badge-status-confirmed   { background: #cfe2ff; color: #084298; }
.badge-status-resolving_types { background: #cfe2ff; color: #084298; }
.badge-status-submitting  { background: #cfe2ff; color: #084298; }
.badge-status-polling     { background: #cfe2ff; color: #084298; }
.badge-status-sent        { background: #cfe2ff; color: #084298; }
.badge-status-ok          { background: #d1e7dd; color: #0a3622; }
.badge-status-error       { background: #f8d7da; color: #721c24; }
