body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #f4f6f9;
}

.brand-link {
    white-space: normal;
    line-height: 1.2;
}

.refuge-avatar {
    width: 34px;
    height: 34px;
}

.refuge-auth-page {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 45%, #e0f2fe 100%);
}

.login-box .card {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.small-box .icon {
    top: 10px;
}

.card {
    border-radius: 0.6rem;
}

.table th {
    white-space: nowrap;
}

.table td,
.table th {
    vertical-align: middle;
}

.form-control,
.btn,
.custom-select {
    border-radius: 0.35rem;
}

.refuge-quick-link {
    font-weight: 600;
}

.alert ul {
    padding-left: 1rem;
}

.refuge-kpi-card {
    min-height: 150px;
}

.refuge-kpi-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.refuge-kpi-value {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    color: #1f2937;
    margin: 0.4rem 0 0.2rem;
}

.refuge-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    min-height: calc(1.8125rem + 2px);
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 0.25rem 2rem 0.25rem 0.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 4px;
}

.item-search-result__title {
    font-weight: 600;
}

.item-search-result__meta {
    font-size: 0.78rem;
    color: #6c757d;
}

.itemized-wide-table {
    table-layout: fixed;
}

.po-items-wide-table {
    min-width: 1280px;
}

.po-items-wide-table .itemized-col-item {
    width: 360px;
}

.po-items-wide-table .itemized-col-description {
    width: 110px;
}

.po-items-wide-table .itemized-col-quantity,
.po-items-wide-table .itemized-col-unit {
    width: 90px;
}

.po-items-wide-table .itemized-col-unit-price,
.po-items-wide-table .itemized-col-line-total {
    width: 120px;
}

.po-items-wide-table .itemized-col-category {
    width: 240px;
}

.po-items-wide-table .itemized-col-action {
    width: 80px;
}

.pit-items-wide-table {
    min-width: 1080px;
}

.pit-items-wide-table .pit-col-item {
    width: 430px;
}

.pit-items-wide-table .pit-col-unit {
    width: 90px;
}

.pit-items-wide-table .pit-col-available,
.pit-items-wide-table .pit-col-transfer {
    width: 115px;
}

.pit-items-wide-table .pit-col-remarks {
    width: 280px;
}

.pit-items-wide-table .pit-col-action {
    width: 80px;
}

.project-item-sort {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-align: inherit;
}

.project-item-sort:hover,
.project-item-sort:focus {
    color: #0056b3;
    text-decoration: underline;
}

.project-item-sort.is-sorted-asc::after {
    content: " ▲";
    font-size: 0.7em;
}

.project-item-sort.is-sorted-desc::after {
    content: " ▼";
    font-size: 0.7em;
}
