:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: #1e293b;
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
    box-shadow: 0 4px 10px -1px rgba(0, 0, 0, 0.15);
}

.upload-card {
    border: 2px dashed #93c5fd;
    border-radius: 16px;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.upload-card:hover, .upload-card.drag-over {
    border-color: #2563eb;
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}

.summary-card {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.badge-verified {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-payment {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-receipt {
    background-color: #dcfce7;
    color: #166534;
}

.badge-contra {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.table-custom {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.table-custom thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    padding: 12px 14px;
}

.table-custom tbody td {
    padding: 12px 14px;
    vertical-align: middle;
    font-size: 0.88rem;
    border-bottom: 1px solid #f1f5f9;
}

.editable-input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.2s;
}

.editable-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-export-excel {
    background: #107c41;
    color: #ffffff;
    font-weight: 600;
}
.btn-export-excel:hover {
    background: #0b5e31;
    color: #ffffff;
}

.btn-export-xml {
    background: #ea580c;
    color: #ffffff;
    font-weight: 600;
}
.btn-export-xml:hover {
    background: #c2410c;
    color: #ffffff;
}

.btn-export-json {
    background: #475569;
    color: #ffffff;
    font-weight: 600;
}
.btn-export-json:hover {
    background: #334155;
    color: #ffffff;
}

.spinner-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}
