/* --- Container utama --- */
.container-pengadaan {
    width: 90%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}

/* --- Tab tombol (Pengadaan / Penerimaan) --- */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 25px;
    border-radius: 8px;
    border: 1.5px solid #d0d7e3;
    background-color: #f8f9fb;
    color: #001f3f;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Animasi saat hover */
.tab-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(28, 63, 119, 0.1);
    transition: left 0.3s ease;
    border-radius: 8px;
}

.tab-button:hover::after {
    left: 0;
}

/* Efek saat hover */
.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(28, 63, 119, 0.2);
}

/* Efek klik (active press) */
.tab-button:active {
    transform: scale(0.96);
    box-shadow: 0 2px 5px rgba(28, 63, 119, 0.15);
}

/* Warna aktif */
.tab-button.active {
    background-color: #1c3f77;
    color: #fff;
    border-color: #1c3f77;
    box-shadow: 0 6px 12px rgba(28, 63, 119, 0.25);
    transform: scale(1.03);
}

/* --- Search dan filter --- */
.search-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fb;
    border-radius: 12px;
    padding: 8px 15px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    background: #f8f9fb;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.search-bar input::placeholder {
    color: #c4c4c4;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fb;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn:hover {
    background-color: #e7ebf0;
}

/* --- Tombol Tambah Barang --- */
.btn-tambah {
    background-color: #1c3f77;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    float: right;
    margin-bottom: 15px;
    transition: 0.25s ease;
}

.btn-tambah:hover {
    background-color: #15325d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(28, 63, 119, 0.25);
}

/* --- Table --- */
.table-container {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-pengadaan {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table-pengadaan thead {
    background-color: #f5f6fa;
    color: #001f3f;
    font-weight: 600;
}

.table-pengadaan th,
.table-pengadaan td {
    padding: 12px 18px;
    border-bottom: 1px solid #e0e4eb;
    font-size: 14px;
}

.table-pengadaan tr:last-child td {
    border-bottom: none;
}

.table-pengadaan tbody tr:hover {
    background-color: #f2f6fc;
    transition: background-color 0.2s ease;
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
    }

    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-tambah {
        width: 100%;
    }
}
}
