/* ===== List Barang Peminjaman Styling ===== */
.header-section {
    text-align: center;
    margin-bottom: 30px;
}

.header-section h2 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
    color: #0B3D91;
    font-size: 2.5rem;
}

.search-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.search-box {
    max-width: 300px;
}

.search-box .input-group-text {
    background: #fff;
    border-right: none;
    padding-right: 5px;
}

.search-box .form-control {
    border-left: none;
    font-size: 0.9rem;
}

.search-box .btn-search {
    background: #0B3D91;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

.item-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 4px solid #0B3D91 !important;
    border-bottom: 4px solid #0B3D91 !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    background: #fff;
}

.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 61, 145, 0.15) !important;
}

.card-img-container {
    height: 150px;
    overflow: hidden;
    background: #f8f9fc;
    border-bottom: 1px solid #eee;
}

.card-img-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.card-body-custom {
    padding: 1.2rem !important;
}

.item-merek {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.item-desc {
    font-size: 0.8rem;
    color: #666;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
}

/* Jenis Tag Style (similar to pengajuan) */
.jenis-box {
    padding: 4px 10px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 6px;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
}

.jenis-text {
    font-size: 10px;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
}

.stock-info {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    border: none !important;
}

.stock-info.available {
    color: #1e40af;
}

.stock-info.empty {
    color: #dc3545;
}

.btn-pilih {
    background: #0B3D91;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #0B3D91;
    transition: all 0.2s ease;
}

.btn-pilih:hover {
    background: #082f73;
    border-color: #082f73;
    color: #fff;
}

.pagination-container {
    margin-top: 40px;
    margin-bottom: 20px;
}
