/* PAIA Manuals page */

.pager-header-paia {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    margin-top: 60px;
    background-size: cover;
    min-height: 320px;
    display: flex;
    align-items: center;
    position: relative;
}

.pager-header-paia::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pager-header-paia .container {
    position: relative;
    z-index: 1;
}

.pager-header-paia .page-content {
    padding: 60px 0 40px;
}

.pager-header-paia h1 {
    font-family: "Oswald", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.pager-header-paia p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
}

.paia-section {
    padding: 70px 0;
}

.paia-section-steps {
    background: #f6f6f6;
}

.paia-section-title {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.paia-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.paia-step {
    flex: 1 1 280px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.paia-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffcc00;
    color: #1a1a1a;
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paia-step-content h3 {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.paia-step-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.paia-step-content a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: underline;
}

.paia-manuals-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.paia-manuals-header h2 {
    font-family: "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.paia-manuals-header p {
    font-size: 15px;
    color: #555;
    margin: 0;
    /* max-width: 620px; */
}

.paia-manuals-count {
    font-size: 14px;
    color: #777;
    white-space: nowrap;
}

.paia-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.paia-filter-btn {
    border: 1px solid #ccc;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.paia-filter-btn:hover,
.paia-filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.paia-table-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.paia-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.paia-table thead th {
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 16px 20px;
    border: none;
    text-align: left;
}

.paia-table thead th:last-child {
    text-align: right;
}

.paia-table tbody tr {
    border-bottom: 1px solid #eee;
}

.paia-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.paia-table tbody tr:nth-child(odd) {
    background: #fff;
}

.paia-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
    font-size: 15px;
    color: #333;
}

.paia-table tbody td:last-child {
    text-align: right;
}

.paia-type-badge {
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    white-space: nowrap;
}

.paia-action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.paia-view-btn,
.paia-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    height: 42px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 18px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.paia-view-btn {
    background: #fff;
    border: 1px solid #d0d0d0;
    color: #1a1a1a !important;
}

.paia-view-btn:hover,
.paia-view-btn:focus {
    background: #f6f6f6;
    border-color: #999;
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.paia-download-btn {
    background: #ffcc00;
    border: 1px solid #ffcc00;
    color: #1a1a1a !important;
}

.paia-download-btn:hover,
.paia-download-btn:focus {
    background: #f2af00;
    border-color: #f2af00;
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.paia-view-btn .fa,
.paia-download-btn .fa {
    font-size: 14px;
    line-height: 1;
    width: auto;
    height: auto;
}

@media screen and (max-width: 991px) {
    .pager-header-paia h1 {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .paia-section {
        padding: 50px 0;
    }

    .paia-section-title,
    .paia-manuals-header h2 {
        font-size: 26px;
    }

    .paia-manuals-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .paia-table-wrap {
        border: none;
        overflow: visible;
        background: transparent;
    }

    .paia-table {
        min-width: 0;
    }

    .paia-table thead {
        display: none;
    }

    .paia-table tbody {
        display: block;
    }

    .paia-manual-row {
        display: block;
        padding: 18px;
        margin-bottom: 14px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .paia-manual-row:nth-child(even),
    .paia-manual-row:nth-child(odd) {
        background: #fff;
    }

    .paia-manual-row:last-child {
        margin-bottom: 0;
    }

    .paia-table tbody td {
        display: block;
        padding: 0;
        text-align: left !important;
        border: none;
    }

    .paia-cell-entity {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.4;
        color: #1a1a1a;
        margin-bottom: 14px;
    }

    .paia-cell-type,
    .paia-cell-updated {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 14px;
        color: #333;
    }

    .paia-cell-type::before,
    .paia-cell-updated::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        color: #888;
        min-width: 58px;
    }

    .paia-cell-download {
        margin-top: 14px;
        padding-top: 14px !important;
        border-top: 1px solid #eee;
    }

    .paia-cell-download::before {
        display: none;
    }

    .paia-action-buttons {
        display: flex;
        width: 100%;
        justify-content: stretch;
        gap: 10px;
    }

    .paia-view-btn,
    .paia-download-btn {
        flex: 1 1 0;
        padding: 0 12px;
    }
}
