﻿:root {
    --primary: #2563eb;
    --bg: #f1f5f9;
}

body {
    background: var(--bg);
    font-family: 'Inter', sans-serif;
}

.main-wrapper {
    max-width: 1300px;
    margin: auto;
    padding: 20px;
}

/* HEADER */
.glass-header {
    background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
    border-radius: 18px;
    padding: 25px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* CARDS */
.filter-card, .table-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 25px;
}

/* FORM */
.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
}

.form-control, .form-select {
    height: 42px;
    border-radius: 10px !important;
}

.select2-container--bootstrap-5 .select2-selection {
    height: 42px !important;
    border-radius: 10px !important;
}

/* BUTTONS */
.btn-search {
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
}

.btn-clear {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

/* TABLE */
table.dataTable thead th {
    background: linear-gradient(135deg, #e0e7ff, #f8fafc);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
}

table.dataTable tbody td {
    text-align: center;
    vertical-align: middle;
    font-size: 0.85rem;
    padding: 12px;
}

/* ROW HOVER */
table.dataTable tbody tr {
    transition: all 0.2s ease;
}

    table.dataTable tbody tr:hover {
        /*transform: scale(1.005);*/
        background: #f1f5ff !important;
        box-shadow: 0 5px 15px rgba(37,99,235,0.1);
    }

/* BADGE */
.badge {
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* LOADING */
div.dataTables_processing {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* RESPONSIVE CARD */
.responsive-card {
    padding: 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.responsive-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .responsive-row:last-child {
        border-bottom: none;
    }

    .responsive-row .label {
        font-weight: 700;
        font-size: 12px;
        color: #64748b;
        text-transform: uppercase;
    }

    .responsive-row .value {
        font-weight: 600;
        color: #0f172a;
    }

/* MODAL */
.modal-content {
    border-radius: 18px !important;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
