.employee-perks-table {
    width: 100%;
    border-collapse: collapse;
}

.employee-perks-table thead th {
    background: #f5f7fa;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    padding: 12px;
    border-bottom: 2px solid #e6e9ee;
}

.employee-perks-table tbody td {
    padding: 14px 12px;
    vertical-align: top;
    border-bottom: 1px solid #edf0f4;
    font-size: 14px;
    color: #333;
}

.employee-perks-table tbody tr:hover {
    background: #fafbfc;
}

.employee-perks-table strong {
    font-weight: 600;
    color: #1f2937;
}

.perk-description {
    line-height: 1.6;
    color: #4b5563;
    max-width: 520px;
}

.perk-actions a {
    font-weight: 500;
}
.employee-perks-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 20px;
}
.perk-thumb {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px;
}
.supplier-thumb {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
}


.employee-perks-table tr:hover .supplier-thumb {
    filter: none;
    opacity: 1;
}
/* ================================
   Employee Perks – Table Layout
   ================================ */

.employee-perks-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    padding: 10px 20px 20px;
}

/* Table */
.employee-perks-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Header */
.employee-perks-table thead th {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f8fafc;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

/* Body cells */
.employee-perks-table tbody td {
    vertical-align: middle;
    text-align: center;
    padding: 18px 12px;
    border-top: 1px solid #eef2f7;
    font-size: 14px;
    color: #1f2937;
}

/* Perk title */
.employee-perks-table tbody td:first-child {
    font-weight: 600;
}

/* Description */
.employee-perks-table .perk-description {
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.55;
    color: #374151;
}

/* Supplier logo */
.supplier-thumb {
    max-width: 90px;
    max-height: 42px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Action button */
.employee-perks-table .btn {
    padding: 6px 14px;
    font-size: 13px;
}

/* Row hover */
.employee-perks-table tbody tr:hover {
    background: #fafafa;
}
/* === Hard centre perks card on large screens === */

.employee-perks-container {
    max-width: 1000px;     /* visual width of table/card */
    margin-left: auto;
    margin-right: auto;
}

/* Prevent Bootstrap container from making it feel left-heavy */
.employee-perks-app {
    display: flex;
    justify-content: flex-start; /* align with banner text */
}

.employee-perks-container {
    max-width: 1000px;
    margin-left: 0;   /* align with banner */
    margin-right: auto;
}
.employee-perks-app {
    display: flex;
    justify-content: center;
}

.employee-perks-container {
    max-width: 1000px;
    margin: 0 auto;
}
/* ===== Category title ===== */

.employee-perks-header {
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.employee-perks-title {
    font-size: 28px;
    font-weight: 700;
    color: #2e3f58;
    margin: 0;
}

/* ===== Back button (Balliante style) ===== */

.btn-employee-perks-back {
    display: inline-block;
    margin-top: 20px;
    background-color: #05aaac;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-employee-perks-back:hover {
    background-color: #048f90;
    color: #ffffff;
    text-decoration: none;
}
/* === Centre category title to table === */

.employee-perks-header {
    max-width: 1100px;     /* MUST match table/card width */
    margin: 0 auto 20px auto;
    text-align: center;
}

.employee-perks-title {
    font-size: 28px;
    font-weight: 700;
    color: #2e3f58;
    margin: 0;
}
/* =========================
   Shared card container
   ========================= */
.employee-perks-container {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
}

/* =========================
   Perk View Page
   ========================= */

.perk-view-header {
    text-align: center;
    margin-bottom: 24px;
}

.perk-view-title {
    font-size: 30px;
    font-weight: 700;
    color: #2e3f58;
    margin: 0;
}

.perk-view-supplier {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.perk-view-description {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.perk-view-action {
    margin-top: 30px;
    text-align: center;
}

.btn-employee-perks-primary {
    background-color: #05aaac;
    color: #ffffff;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

.btn-employee-perks-primary:hover {
    background-color: #048f90;
    color: #ffffff;
    text-decoration: none;
}

.perk-view-back {
    margin-top: 30px;
    text-align: center;
}
