﻿/* CUSTOMER PORTAL STYLES */

.client-portal {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-32) var(--space-24) var(--space-48);
}

/* Header */
.client-portal .portal-header {
    margin-bottom: var(--space-32);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.client-portal .portal-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-solar-yellow);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, var(--color-solar-yellow), var(--color-amber-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-portal .header-subtitle {
    font-size: 15px;
    color: var(--color-cool-slate);
    margin-bottom: 24px;
}

/* Portal Stats */
.portal-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding: 20px;
    background: rgba(29, 29, 29, 0.6);
    border: 1px solid rgba(113, 124, 126, 0.3);
    border-radius: 12px;
}

.portal-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(42, 52, 57, 0.4);
    transition: all 0.2s ease;
}

.portal-stats .stat-item:hover {
    background: rgba(42, 52, 57, 0.6);
    transform: translateY(-2px);
}

.portal-stats .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-solar-yellow);
    line-height: 1;
}

.portal-stats .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    text-align: center;
}

@media (max-width: 768px) {
    .portal-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .portal-stats .stat-value {
        font-size: 20px;
    }
}

/* Supplier Callout */
.client-portal-supplier-callout {
    background: rgba(22, 22, 22, 0.7);
    border: 1px solid rgba(113, 124, 126, 0.45);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.client-portal-supplier-callout:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.client-portal-supplier-callout .section-title {
    color: var(--color-solar-yellow);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.client-portal-supplier-callout .section-subtitle {
    color: var(--color-platinum-grey);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.supplier-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .supplier-buttons {
        flex-direction: column;
    }
    
    .supplier-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Filters */
.client-portal .filter-bar {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(113, 124, 126, 0.45);
    background: rgba(29, 29, 29, 0.85);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Search Input Wrapper */
.search-input-wrapper {
    position: relative;
    flex: 1 1 300px;
    min-width: 250px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-cool-slate);
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}
    transition: all 0.2s ease;
}

.client-portal .filter-bar:hover {
    border-color: rgba(241, 196, 15, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.client-portal .filter-bar .form-control {
    width: auto;
    flex: 1 1 0;
    min-width: 160px;
}

.client-portal .filter-bar .filter-search {
    flex: 2 1 240px;
    padding-left: 44px;
}

/* Allow wrapping on smaller screens */
@media (max-width: 992px) {
    .client-portal .filter-bar {
        flex-wrap: wrap;
    }
}

/* Active Filters Display */
.client-portal .active-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(241, 196, 15, 0.08);
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 10px;
}

.client-portal .filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-portal .filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.client-portal .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(241, 196, 15, 0.15);
    border: 1px solid rgba(241, 196, 15, 0.4);
    border-radius: 999px;
    font-size: 12px;
    color: var(--color-platinum-grey);
    font-weight: 500;
}

.client-portal .filter-tag-remove {
    background: none;
    border: none;
    color: var(--color-solar-yellow);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
    transition: color 0.2s ease;
}

.client-portal .filter-tag-remove:hover {
    color: var(--color-amber-yellow);
}

.client-portal .clear-filters-btn {
    padding: 4px 12px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 999px;
    font-size: 12px;
    color: var(--color-coral-orange);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.client-portal .clear-filters-btn:hover {
    background: rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.6);
}

/* Results Summary */
.client-portal .results-summary {
    margin-bottom: 16px;
    padding: 10px 16px;
    background: rgba(29, 29, 29, 0.5);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-platinum-grey);
}

.client-portal .results-summary .text-muted {
    color: var(--color-text-secondary);
}

/* Loading / Empty states */

.client-portal .portal-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    gap: 20px;
}

.client-portal .portal-loading-state p {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin: 0;
}

.client-portal .portal-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    gap: 16px;
    background: rgba(29, 29, 29, 0.4);
    border: 1px dashed rgba(113, 124, 126, 0.4);
    border-radius: 16px;
    text-align: center;
}

.client-portal .portal-empty-state .empty-icon {
    font-size: 64px;
    color: var(--color-matte-grey);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-portal .portal-empty-state .empty-icon i {
    font-size: 64px;
}

.client-portal .portal-empty-state h3 {
    color: var(--color-platinum-grey);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.client-portal .portal-empty-state p {
    color: var(--color-cool-slate);
    font-size: 15px;
    margin: 0;
    max-width: 400px;
    line-height: 1.6;
}

.client-portal .loading,
.client-portal .empty-state {
    text-align: center;
    padding: var(--space-32);
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

/* Materials grid */
.client-portal .materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-24);
}

/* Material card */
.client-portal .material-card {
    background: var(--color-charcoal-black);
    border: 1px solid rgba(113, 124, 126, 0.45);
    border-radius: 12px;
    padding: var(--space-20);
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect */
.client-portal .material-card .card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.client-portal .material-card:hover .card-shimmer {
    left: 100%;
}

.client-portal .material-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 196, 15, 0.6);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

/* Material header with flexible layout */
.client-portal .material-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.client-portal .material-header > div:first-child {
    flex: 1;
    min-width: 0;
}

/* Status badge in header (not absolute) */
.client-portal .material-card .status-badge {
    flex-shrink: 0;
}

.client-portal .material-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-platinum-grey);
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.client-portal .material-mine {
    font-size: 13px;
    color: var(--color-cool-slate);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.client-portal .material-mine .bi {
    font-size: 12px;
    color: var(--color-solar-yellow);
}

/* Supplier callout (sleek, not loud) */
.client-portal-supplier-callout {
    margin: 24px 0;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(29, 29, 29, 0.75);
    border: 1px solid rgba(113, 124, 126, 0.45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.client-portal-supplier-callout .section-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--color-platinum-grey);
}

.client-portal-supplier-callout .section-subtitle {
    margin: 0 0 14px;
    font-size: 0.92rem;
    color: var(--color-cool-slate);
}

/* Supplier buttons */
.supplier-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-standard);
}

.supplier-btn-primary {
    background: linear-gradient(135deg, var(--color-solar-yellow), var(--color-amber-yellow));
    color: var(--color-deep-black);
    border: 1px solid var(--color-amber-yellow);
    box-shadow: 0 6px 16px rgba(241, 196, 15, 0.35);
}

.supplier-btn-primary:hover {
    box-shadow: 0 8px 22px rgba(241, 196, 15, 0.45);
    transform: translateY(-1px);
}

.supplier-btn-secondary {
    background: transparent;
    color: var(--color-platinum-grey);
    border: 1px solid rgba(113, 124, 126, 0.65);
}

/* Status badge */

.client-portal .status-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.client-portal .status-badge i {
    font-size: 14px;
}

.client-portal .status-badge.available {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    border-color: rgba(39, 174, 96, 0.4);
}

.client-portal .status-badge.pending {
    background: rgba(247, 227, 0, 0.12);
    color: var(--color-lemon-yellow);
    border-color: rgba(247, 227, 0, 0.35);
}

.client-portal .status-badge.sold {
    background: rgba(231, 76, 60, 0.15);
    color: var(--color-coral-orange);
    border-color: rgba(231, 76, 60, 0.4);
}

/* Material details */

.client-portal .material-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-12);
}

.client-portal .detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-portal .detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-text-secondary);
}

.client-portal .detail-value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-platinum-grey);
}

/* Place order button on card */

.client-portal .material-card .btn-primary {
    transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.client-portal .material-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.client-portal .material-card .btn-primary.disabled,
.client-portal .material-card .btn-primary:disabled {
    background-color: var(--color-slate-grey);
    border-color: var(--color-ash-grey);
    color: var(--color-text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Commodity pill */

.client-portal .commodity-pill {
    display: inline-flex;
    align-items: center;
    padding: 1px 10px;
    margin-top: 4px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: var(--font-weight-medium);
    background: rgba(113, 124, 126, 0.15);
    color: var(--color-lemon-yellow);
    border: 1px solid rgba(113, 124, 126, 0.5);
}

.client-portal .commodity-pill-coal {
    background: rgba(127, 140, 141, 0.22);
}

.client-portal .commodity-pill-gold {
    background: linear-gradient( 135deg, rgba(241, 196, 15, 0.14), rgba(243, 156, 18, 0.10) );
}

/* Modal base styling (used by portal modal and future dialogs) */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 24px;
    animation: fadeIn 0.2s ease-out;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(29, 29, 29, 0.98), rgba(18, 18, 18, 0.98));
    border: 1px solid rgba(113, 124, 126, 0.5);
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(241, 196, 15, 0.1);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(42, 52, 57, 0.3);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(241, 196, 15, 0.4);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(241, 196, 15, 0.6);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(113, 124, 126, 0.25);
}

.modal-title {
    color: var(--color-platinum-grey);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

/* Modal close button */

.close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid rgba(113, 124, 126, 0.4);
    background: rgba(42, 52, 57, 0.5);
    color: var(--color-cool-slate);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: var(--color-coral-orange);
    color: var(--color-coral-orange);
    transform: rotate(90deg);
}

.close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* Form layout inside modal */

.client-portal .form-group {
    margin-bottom: 20px;
}

.client-portal .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-platinum-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-portal .form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(42, 52, 57, 0.5);
    border: 1px solid rgba(113, 124, 126, 0.4);
    border-radius: 10px;
    color: var(--color-platinum-grey);
    font-size: 15px;
    transition: all 0.2s ease;
}

.client-portal .form-control:focus {
    outline: none;
    border-color: var(--color-solar-yellow);
    background: rgba(42, 52, 57, 0.7);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.client-portal .form-control::placeholder {
    color: var(--color-matte-grey);
}

.client-portal textarea.form-control {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.client-portal .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-16);
}

/* Order summary */

.client-portal .order-summary {
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.5), rgba(29, 29, 29, 0.5));
    border: 1px solid rgba(241, 196, 15, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.client-portal .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-cool-slate);
}

.client-portal .summary-row:last-child {
    margin-bottom: 0;
}

.client-portal .summary-row.total {
    margin-top: 12px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-platinum-grey);
}

.client-portal .summary-value {
    color: var(--color-solar-yellow);
    font-weight: 600;
}

.client-portal .summary-row.total .summary-value {
    font-size: 20px;
}

.summary-separator {
    border: 0;
    border-top: 1px dashed rgba(113, 124, 126, 0.4);
    margin: 12px 0;
}

/* Modal actions */

.client-portal .action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(113, 124, 126, 0.2);
}

.client-portal .action-buttons .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.client-portal .action-buttons .btn-primary {
    background: linear-gradient(135deg, var(--color-solar-yellow), var(--color-amber-yellow));
    border: none;
    color: var(--color-charcoal-black);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

.client-portal .action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
}

.client-portal .action-buttons .btn-secondary {
    background: rgba(42, 52, 57, 0.6);
    border: 1px solid rgba(113, 124, 126, 0.5);
    color: var(--color-platinum-grey);
}

.client-portal .action-buttons .btn-secondary:hover {
    background: rgba(42, 52, 57, 0.8);
    border-color: rgba(113, 124, 126, 0.7);
}

/* Validation Message */
.client-portal .validation-message {
    padding: 12px 16px;
    margin-top: 16px;
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-left: 3px solid var(--color-coral-orange);
    border-radius: 8px;
    color: var(--color-coral-orange);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-portal .validation-message::before {
    content: "⚠";
    font-size: 18px;
}

/* Toast notification */

.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 29, 29, 0.98), rgba(42, 52, 57, 0.98));
    color: var(--color-platinum-grey);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(113, 124, 126, 0.5);
    z-index: 1100;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-notification.success {
    border-left: 4px solid #2ecc71;
}

.toast-notification.success::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(46, 204, 113, 0.2);
    border-radius: 50%;
    color: #2ecc71;
    font-weight: bold;
    font-size: 16px;
}

.toast-notification button {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.toast-notification button:hover {
    color: var(--color-platinum-grey);
}

/* Responsive tweaks */

@media (max-width: 768px) {
    .client-portal {
        padding: var(--space-24) var(--space-16) var(--space-32);
    }

    .client-portal .materials-grid {
        grid-template-columns: 1fr;
    }

    .client-portal .form-row {
        grid-template-columns: 1fr;
    }

    .client-portal .modal-content {
        padding: 24px;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 20px;
    }

    .client-portal .action-buttons {
        flex-direction: column-reverse;
    }

    .client-portal .action-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .client-portal {
        padding: var(--space-20) var(--space-12) var(--space-24);
    }

    .client-portal .portal-header h1 {
        font-size: var(--font-size-2xl);
    }

    .client-portal .header-subtitle {
        font-size: var(--font-size-sm);
    }

    .toast-notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
    }

    .modal {
        padding: 16px;
    }

    .modal-content {
        padding: 20px;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 18px;
    }
}

/*# sourceMappingURL=customer-portal.css.map */

.client-portal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding: 12px 20px;
    border: 1px solid rgba(113, 124, 126, 0.35);
    border-radius: 12px;
    background: rgba(29, 29, 29, 0.65);
}

.client-portal-pagination span {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-platinum-grey);
}

.client-portal-pagination .btn-sm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Pagination Info */
.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(113, 124, 126, 0.2);
}

.pagination-details {
    color: var(--color-cool-slate);
    font-size: 14px;
}

.pagination-details strong {
    color: var(--color-solar-yellow);
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-platinum-grey);
}

.page-size-select {
    background-color: rgba(10, 10, 10, 0.9);
    color: var(--color-platinum-grey);
    border: 1px solid rgba(113, 124, 126, 0.5);
    border-radius: 6px;
    padding: 6px 32px 6px 10px;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1C413' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

.page-size-select:hover {
    border-color: rgba(241, 196, 15, 0.5);
}

.page-size-select:focus {
    outline: none;
    border-color: var(--color-solar-yellow);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.15);
}

/* Pagination Navigation */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 32px;
    border-top: 1px solid rgba(113, 124, 126, 0.2);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(29, 29, 29, 0.8);
    border: 1px solid rgba(113, 124, 126, 0.5);
    border-radius: 8px;
    color: var(--color-platinum-grey);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(42, 52, 57, 0.9);
    border-color: rgba(241, 196, 15, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 4px;
    margin: 0 12px;
}

.pagination-page {
    min-width: 38px;
    height: 38px;
    displ
