/* =========================
   PPID ARCHIVE
========================= */

.ppid-archive {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.ppid-header {
    margin-bottom: 30px;
}

.ppid-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.ppid-description {
    color: #6b7280;
    margin: 0;
}


/* =========================
   FILTER
========================= */

.ppid-filter-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ppid-filter {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    min-width: 220px;
    min-height: 44px;
}

.ppid-filter:focus {
    outline: none;
    border-color: #2563eb;
}


/* =========================
   TABLE WRAPPER
========================= */

.ppid-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}


/* =========================
   TABLE
========================= */

.ppid-table {
    width: 100%;
    border-collapse: collapse;
}

.ppid-table thead {
    background: #f3f4f6;
}

.ppid-table th {
    padding: 14px;
    text-align: left;
    font-weight: 600;
}

.ppid-table td {
    padding: 14px;
    border-top: 1px solid #e5e7eb;
    vertical-align: middle;
}


/* =========================
   TITLE LINK
========================= */

.ppid-title-link {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.ppid-title-link:hover {
    color: #2563eb;
}


/* =========================
   ACTION BUTTONS
========================= */

.ppid-action {
    white-space: nowrap;
}

.btn-detail,
.btn-pdf {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: 0.2s ease;
}

.btn-detail {
    background: #2563eb;
    margin-right: 8px;
}

.btn-detail:hover {
    background: #1d4ed8;
    color: #fff;
}

.btn-pdf {
    background: #059669;
}

.btn-pdf:hover {
    background: #047857;
    color: #fff;
}


/* =========================
   EMPTY STATE
========================= */

.ppid-empty {
    padding: 30px;
    background: #f9fafb;
    border-radius: 10px;
    text-align: center;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .ppid-title {
        font-size: 26px;
    }

    .ppid-filter {
        width: 100%;
        min-width: 100%;
    }

    .btn-detail,
    .btn-pdf {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

}