*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, input, select, textarea, button, label {
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.aud-main {
    display: flex;
    justify-content: center;
    padding: 28px 4% 50px;
    margin-left: 100px;
}

.aud-card {
    width: 100%;
    max-width: 1350px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.btn-p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white;
    text-decoration: none;
}
.btn-p-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.25);
}
.btn-p-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(30, 64, 175, 0.35); opacity: 0.95; }

.btn-p-outline {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.btn-p-outline:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); }

.aud-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 18px;
    width: fit-content;
}
.tab-btn {
    background: none;
    border: none;
    padding: 12px 26px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tab-btn.active {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.filter-section {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.filter-grid {
    display: grid;
    grid-template-columns: 320px 220px 1fr 150px;
    gap: 20px;
    align-items: end;
}
.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fi {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.fi:focus { outline: none; border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.label-sm { font-size: 0.72rem; font-weight: 800; color: #64748b; text-transform: uppercase; margin-bottom: 8px; display: block; letter-spacing: 0.5px; }

.table-container {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.premium-table { width: 100%; border-collapse: collapse; }
.premium-table thead th {
    background: #f8fafc;
    padding: 18px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #f1f5f9;
}
.premium-table tbody td {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}
.premium-table tbody tr:hover td { background: #fcfdfe; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: slideUp 0.4s ease; }

@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.b-success { background: #dcfce7; color: #15803d; }
.b-warning { background: #fef9c3; color: #a16207; }
.b-error { background: #fee2e2; color: #b91c1c; }
.b-info { background: #e0f2fe; color: #0369a1; }

.btn-circle {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-circle:hover { border-color: #3b82f6; color: #3b82f6; transform: scale(1.1); }

.yellow-btn {
    background: #fef9c3 !important;
    color: #a16207 !important;
    border-color: #fde047 !important;
}
.yellow-btn:hover {
    background: #fde047 !important;
    color: #854d0e !important;
    border-color: #ca8a04 !important;
}

.disabled-btn {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .aud-main { margin-left: 62px; padding: 20px 2%; }
    .filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .aud-main { margin-left: 0; padding: 15px 15px 100px; }
    .aud-card { padding: 20px; border-radius: 20px; }
    .filter-grid { grid-template-columns: 1fr; }
    .aud-tabs { width: 100%; overflow-x: auto; white-space: nowrap; }
    .tab-btn { padding: 10px 15px; font-size: 0.8rem; }
    .table-container { overflow-x: auto; }
    .premium-table { min-width: 800px; }
}
