/* =========================================================
   HIGH5 COMMISSION DASHBOARD
========================================================= */

.h5-commission-dashboard {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #111827;
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.h5-commission-header {
    width: 100%;
    padding: 38px 40px;
    margin-bottom: 24px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-sizing: border-box;
}

.h5-commission-header h1 {
    margin: 0;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;

    color: #111827;
}

.h5-commission-header p {
    margin: 10px 0 0;

    max-width: 650px;

    font-size: 15px;
    line-height: 1.6;

    color: #6b7280;
}


/* =========================================================
   AGENT MAPPING WARNING
========================================================= */

.h5-commission-warning {
    width: 100%;

    padding: 20px 24px;
    margin-bottom: 20px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-sizing: border-box;
}

.h5-commission-warning strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    color: #111827;
}

.h5-commission-warning p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: #6b7280;
}


/* =========================================================
   CONTROLS
========================================================= */

.h5-commission-filter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 24px;

    width: 100%;
    margin-bottom: 20px;

    box-sizing: border-box;
}

.h5-filter-title {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.h5-filter-title strong {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #6b7280;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.h5-filter-title small {
    display: block;

    font-size: 13px;
    color: #9ca3af;
}

.h5-filter-title .dashicons {
    display: none;
}


/* =========================================================
   DATE FORM
========================================================= */

.h5-commission-filter form {
    margin: 0;
}

.h5-filter-fields {
    display: flex;
    align-items: flex-end;

    gap: 12px;
}

.h5-filter-field {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.h5-filter-field label {
    font-size: 12px;
    font-weight: 700;

    color: #6b7280;
}

.h5-filter-field input {
    min-width: 170px;
    height: 42px;

    padding: 0 12px;

    background: #ffffff;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    color: #111827;

    font-family: inherit;
    font-size: 14px;

    box-sizing: border-box;
}

.h5-filter-field input:hover {
    border-color: #bfc5cc;
}

.h5-filter-field input:focus {
    outline: none;

    border-color: #2271b1;

    box-shadow:
        0 0 0 3px rgba(34, 113, 177, .10);
}

.h5-filter-action .button {
    height: 42px;

    padding: 0 20px;

    border: 0;
    border-radius: 8px;

    background: #2271b1;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: none;
}

.h5-filter-action .button:hover {
    background: #1d639b;
}


/* =========================================================
   SUMMARY CARDS
========================================================= */

.h5-commission-cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-bottom: 24px;
}

.h5-commission-card {
    display: flex;
    align-items: center;

    gap: 16px;

    min-width: 0;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .04);

    box-sizing: border-box;
}


/* =========================================================
   SUMMARY ICON
========================================================= */

.h5-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border-radius: 12px;

    background: #eff6ff;

    color: #2271b1;

    font-size: 20px;
    font-weight: 700;
}

.h5-card-icon .dashicons {
    width: 20px;
    height: 20px;

    font-size: 20px;
}


/* =========================================================
   SUMMARY CONTENT
========================================================= */

.h5-card-content {
    min-width: 0;
}

.h5-card-label {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 600;

    color: #6b7280;
}

.h5-card-value {
    display: block;

    font-size: 22px;
    line-height: 1.2;

    color: #111827;
}

.h5-card-description {
    display: block;

    margin-top: 5px;

    font-size: 12px;

    color: #9ca3af;
}


/* =========================================================
   AGENT INFORMATION
========================================================= */

.h5-commission-agent-info {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-bottom: 24px;
}

.h5-commission-agent-info > div {
    width: 100%;

    padding: 20px 24px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-sizing: border-box;
}

.h5-info-label {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 700;

    color: #2271b1;

    text-transform: uppercase;
    letter-spacing: .07em;
}

.h5-commission-agent-info strong {
    display: block;

    font-size: 14px;

    color: #111827;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .h5-commission-cards {
        grid-template-columns: 1fr;
    }

    .h5-commission-agent-info {
        grid-template-columns: 1fr;
    }

    .h5-commission-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .h5-filter-fields {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .h5-commission-header {
        padding: 26px 20px;
    }

    .h5-commission-header h1 {
        font-size: 25px;
    }

    .h5-filter-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .h5-filter-field input,
    .h5-filter-action .button {
        width: 100%;
        box-sizing: border-box;
    }

    .h5-commission-card {
        padding: 20px;
    }

    .h5-commission-agent-info > div {
        padding: 18px 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .h5-commission-header {
        border-radius: 14px;
    }

    .h5-commission-card {
        gap: 12px;
    }

    .h5-card-icon {
        flex: 0 0 44px;

        width: 44px;
        height: 44px;
    }

    .h5-card-value {
        font-size: 20px;
    }

}

/* =========================================================
   COMMISSION SUMMARY
   ========================================================= */

.h5-commission-summary {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #111827;
    box-sizing: border-box;
}


/* Summary Header */

.h5-summary-header {
    width: 100%;
    padding: 32px 36px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-sizing: border-box;
}

.h5-summary-header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
}

.h5-summary-header p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}


/* Summary Cards */

.h5-summary-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.h5-summary-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-sizing: border-box;
}

.h5-summary-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 12px;
    color: #2271b1;
}

.h5-summary-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.h5-summary-icon-adjustment {
    background: #fef2f2;
    color: #b91c1c;
}

.h5-summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.h5-summary-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6b7280;
}

.h5-summary-value {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.h5-summary-content small {
    font-size: 13px;
    color: #9ca3af;
}


/* Total Commission */

.h5-summary-total {
    width: 100%;
    padding: 30px 32px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-sizing: border-box;
}

.h5-summary-total-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.h5-summary-total-value {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #2271b1;
}

.h5-summary-total-content small {
    font-size: 13px;
    color: #9ca3af;
}


/* Breakdown */

.h5-summary-breakdown {
    width: 100%;
    padding: 26px 30px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-sizing: border-box;
}

.h5-summary-section-title {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.h5-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    font-size: 14px;
    color: #4b5563;
}

.h5-summary-row strong {
    font-size: 15px;
    color: #111827;
}

.h5-summary-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    background: #e5e7eb;
}

.h5-summary-row-total {
    font-size: 15px;
    color: #111827;
}

.h5-summary-row-total strong {
    font-size: 17px;
    color: #2271b1;
}


/* Period */

.h5-summary-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-sizing: border-box;
}

.h5-summary-period span {
    font-size: 13px;
    color: #6b7280;
}

.h5-summary-period strong {
    font-size: 14px;
    color: #111827;
}


/* Responsive */

@media (max-width: 700px) {

    .h5-summary-cards {
        grid-template-columns: 1fr;
    }

    .h5-summary-header {
        padding: 26px;
    }

    .h5-summary-header h2 {
        font-size: 24px;
    }

    .h5-summary-period {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 480px) {

    .h5-summary-card {
        padding: 20px;
    }

    .h5-summary-value {
        font-size: 23px;
    }

    .h5-summary-total {
        padding: 24px;
    }

    .h5-summary-total-value {
        font-size: 28px;
    }

}

/* =========================================================
   COMMISSION TRANSACTIONS
   ========================================================= */

.h5-commission-transactions {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #111827;
    box-sizing: border-box;
}


/* Header */

.h5-transactions-header {
    width: 100%;
    padding: 32px 36px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-sizing: border-box;
}

.h5-transactions-header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
}

.h5-transactions-header p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}


/* Search */

.h5-transactions-search {
    width: 100%;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-sizing: border-box;
}

.h5-transactions-search form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.h5-search-box {
    position: relative;
    flex: 1;
}

.h5-search-box .dashicons {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
    pointer-events: none;
}

.h5-search-box input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 46px !important;
    margin: 0;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
    line-height: 44px;
    color: #111827;
    box-sizing: border-box;
}

.h5-search-box input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.h5-search-box input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34,113,177,.10);
}

.h5-transactions-search .button {
    height: 44px;
    padding: 0 20px;
    border-radius: 9px;
    border: 0;
    background: #2271b1;
    color: #fff;
}

.h5-clear-search {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.h5-clear-search:hover {
    color: #2271b1;
}


/* Transactions Container */

.h5-transactions-container {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}


/* Top Bar */

.h5-transactions-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.h5-transactions-top > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h5-transactions-top strong {
    font-size: 15px;
    color: #111827;
}

.h5-transactions-top span {
    font-size: 13px;
    color: #9ca3af;
}

.h5-transactions-period {
    font-size: 13px;
    color: #6b7280;
}

.h5-transactions-period span {
    margin: 0 5px;
}


/* Table */

.h5-transactions-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.h5-transactions-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    font-size: 13px;
}

.h5-transactions-table th {
    padding: 14px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280;
    white-space: nowrap;
}

.h5-transactions-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
    vertical-align: middle;
}

.h5-transactions-table tbody tr:last-child td {
    border-bottom: 0;
}

.h5-transactions-table tbody tr:hover {
    background: #fafafa;
}

.h5-transactions-table td strong {
    color: #111827;
    font-weight: 600;
}

.h5-commission-column {
    text-align: right !important;
    white-space: nowrap;
}


/* Transaction Badge */

.h5-transaction-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
}


/* Commission Amount */

.h5-commission-amount {
    font-size: 14px;
}

.h5-commission-amount.positive {
    color: #111827;
}

.h5-commission-amount.negative {
    color: #b91c1c;
}


/* Empty State */

.h5-transactions-empty {
    padding: 60px 30px;
    text-align: center;
}

.h5-transactions-empty .dashicons {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    font-size: 32px;
    color: #9ca3af;
}

.h5-transactions-empty strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #111827;
}

.h5-transactions-empty p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}


/* Pagination */

.h5-transactions-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 24px;
    border-top: 1px solid #e5e7eb;
}

.h5-pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.h5-pagination-button:hover {
    border-color: #2271b1;
    color: #2271b1;
}

.h5-pagination-info {
    font-size: 13px;
    color: #6b7280;
}


/* Responsive */

@media (max-width: 700px) {

    .h5-transactions-search form {
        flex-wrap: wrap;
    }

    .h5-search-box {
        width: 100%;
        flex-basis: 100%;
    }

    .h5-transactions-top {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    .h5-transactions-header {
        padding: 26px;
    }

    .h5-transactions-header h2 {
        font-size: 24px;
    }

    .h5-transactions-search {
        padding: 16px;
    }

    .h5-transactions-pagination {
        gap: 10px;
        padding: 16px;
    }

}

/* =========================================================
   AGENT RANK
   ========================================================= */

.h5-agent-rank {
    position: relative;
}

.h5-agent-rank > strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    line-height: 1;
}


/* Award icon */

.h5-agent-rank-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #fff7e6;
    color: #c58a00;

    flex-shrink: 0;
}

.h5-agent-rank-icon .dashicons {
    width: 18px;
    height: 18px;

    font-size: 18px;
    line-height: 18px;
}


/* Rank number */

.h5-agent-rank-number {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    color: #2271b1;
}


/* When there is no rank */

.h5-agent-rank-number:only-child {
    color: #9ca3af;
}

/* =========================================================
   CLICKABLE COMMISSION CARDS
   ========================================================= */

.h5-commission-card-link {
    position: relative;

    display: flex;

    text-decoration: none !important;
    color: inherit !important;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.h5-commission-card-link:hover {
    transform: translateY(-2px);

    border-color: #2271b1;

    box-shadow:
        0 8px 20px rgba(17, 24, 39, 0.08);
}

.h5-commission-card-link:focus {
    outline: none;

    border-color: #2271b1;

    box-shadow:
        0 0 0 3px rgba(34, 113, 177, 0.12);
}


/* Arrow */

.h5-card-arrow {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 20px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.h5-commission-card-link:hover .h5-card-arrow {
    color: #2271b1;

    transform:
        translate(3px, -50%);
}

/* =========================================================
   ACTIVE POLICIES
   ========================================================= */

.h5-commission-active-policies {
    margin-top: 40px;
    margin-bottom: 40px;
}


/* Header */

.h5-active-policies-header {
    margin-bottom: 22px;
}

.h5-active-policies-header h2 {
    margin: 6px 0 8px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
}

.h5-active-policies-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


/* Search */



.h5-active-policies-search form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}


.h5-policy-search-box .dashicons {
    position: absolute;
    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    font-size: 20px;
    line-height: 20px;

    color: #9ca3af;

    z-index: 2;

    pointer-events: none;
}

.h5-policy-search-box input {
    width: 100%;
    height: 44px;
    min-height: 44px;

    padding: 0 14px 0 46px !important;

    margin: 0;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    background: #ffffff;

    font-family: inherit;
    font-size: 14px;
    line-height: 44px;

    color: #111827;

    box-sizing: border-box;
}

.h5-policy-search-box input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.h5-policy-search-box input:focus {
    border-color: #2271b1;

    outline: none;

    box-shadow:
        0 0 0 2px rgba(34, 113, 177, 0.10);
}



/* Clear button */

.h5-clear-policy-search {
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 9px;

    background: #f3f4f6;
    color: #6b7280;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;
}

.h5-clear-policy-search:hover {
    background: #e5e7eb;
    color: #111827;
}


/* Policy container */

.h5-active-policies-container {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    overflow: hidden;
}


/* Top information */

.h5-active-policies-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid #e5e7eb;
}

.h5-active-policies-top > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h5-active-policies-top strong {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.h5-active-policies-top span {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    border-radius: 20px;

    background: #eff6ff;
    color: #2271b1;

    font-size: 12px;
    font-weight: 600;
}


/* Table */

.h5-active-policies-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.h5-active-policies-table {
    width: 100%;

    border-collapse: collapse;

    font-size: 13px;
}

.h5-active-policies-table th {
    padding: 13px 16px;

    background: #f9fafb;

    border-bottom: 1px solid #e5e7eb;

    color: #6b7280;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    text-align: left;

    white-space: nowrap;
}

.h5-active-policies-table td {
    padding: 15px 16px;

    border-bottom: 1px solid #f0f1f3;

    color: #374151;

    vertical-align: middle;

    white-space: nowrap;
}

.h5-active-policies-table tbody tr:last-child td {
    border-bottom: none;
}

.h5-active-policies-table tbody tr {
    transition: background 0.15s ease;
}

.h5-active-policies-table tbody tr:hover {
    background: #f9fbfd;
}

.h5-active-policies-table td strong {
    color: #111827;
    font-weight: 600;
}


/* Empty state */

.h5-active-policies-empty {
    padding: 55px 20px;

    text-align: center;
}

.h5-active-policies-empty .dashicons {
    display: block;

    width: 40px;
    height: 40px;

    margin: 0 auto 12px;

    color: #9ca3af;

    font-size: 40px;
    line-height: 40px;
}

.h5-active-policies-empty strong {
    display: block;

    margin-bottom: 6px;

    color: #111827;

    font-size: 15px;
}

.h5-active-policies-empty p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;
}


/* Pagination */

.h5-active-policies-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 18px 20px;

    border-top: 1px solid #e5e7eb;
}

.h5-policy-pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 13px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #ffffff;
    color: #374151;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.h5-policy-pagination-button:hover {
    border-color: #2271b1;
    color: #2271b1;
    background: #f8fbff;
}

.h5-policy-pagination-info {
    color: #6b7280;

    font-size: 13px;
    font-weight: 500;
}


/* Mobile */

@media (max-width: 700px) {

    .h5-active-policies-search form {
        flex-wrap: wrap;
    }

    .h5-policy-search-box {
        flex: 1 1 100%;
        width: 100%;
    }


    .h5-clear-policy-search {
        flex: 0 0 auto;
    }

    .h5-active-policies-top {
        padding: 16px;
    }

    .h5-active-policies-table th,
    .h5-active-policies-table td {
        padding: 12px;
    }

    .h5-active-policies-pagination {
        padding: 16px;
    }

}