.nav-item,
.vera-inventory-row {
    text-decoration: none;
}

.form-error {
    margin: -6px 0 16px;
    padding: 12px 14px;
    border: 1px solid #f1bebe;
    border-radius: 8px;
    background: #fff0f0;
    color: #a83232;
    font-size: 13px;
}

.flash-success {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #c9ecd5;
    border-radius: 8px;
    background: #edf9f1;
    color: #1f8c52;
    font-size: 13px;
}

.validation-warning {
    border-color: #f0d39c;
    background: #fff7e5;
    color: #8b5d0a;
}

.import-progress {
    position: relative;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 13px 15px;
    overflow: hidden;
    border: 1px solid #c8dafe;
    border-radius: 9px;
    background: #eef4ff;
    color: #31578f;
    font-size: 13px;
}

.import-progress > div { display: grid; gap: 3px; }
.import-progress strong { color: #1f4f9b; }
.import-progress span { color: #647b9e; }
.import-progress-spinner {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 3px solid #b9cef5;
    border-top-color: #2865eb;
    border-radius: 50%;
    animation: import-spin .8s linear infinite;
}

.import-progress-bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: #d5e3fb;
}

.import-progress-bar::after {
    position: absolute;
    width: 35%;
    height: 100%;
    content: '';
    background: #2865eb;
    animation: import-progress 1.1s ease-in-out infinite;
}

@keyframes import-spin { to { transform: rotate(360deg); } }
@keyframes import-progress { from { transform: translateX(-120%); } to { transform: translateX(330%); } }

[wire\:loading] {
    cursor: wait;
}

.reconciliation-panel {
    margin: 16px 0 100px;
    padding: 24px;
    border: 1px solid #dbe4f2;
    border-radius: 14px;
    background: #fff;
}

.reconciliation-table {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dbe4f2;
    border-radius: 10px;
}

.reconciliation-table > div {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 100px 100px 100px 80px;
    gap: 12px;
    align-items: center;
    padding: 13px 16px;
    border-top: 1px solid #e8edf5;
    color: #34415a;
}

.reconciliation-table > div:first-child {
    border-top: 0;
    background: #f6f8fc;
    color: #7c8aa5;
    font-size: 12px;
}

.reconciliation-table strong { color: #102958; }
.reconciliation-table small { display: block; margin-top: 3px; color: #8290aa; font-weight: 400; }
.balanced { color: #2f9462; }
.surplus { color: #2167df; }
.shortage { color: #d14b4b; }

@media (max-width: 620px) {
    .reconciliation-panel { margin-bottom: 90px; padding: 18px 15px; overflow-x: auto; }
    .reconciliation-table { min-width: 720px; }
}
