/**
 * CIU Allocation Frontend Styles
 *
 * @package Partner_CIU_Manager
 */

/* ========================================
   Main Container
   ======================================== */
.ciu-allocation-frontend-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ========================================
   CIU Summary Section
   ======================================== */
.ciu-summary-section-frontend {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ciu-summary-section-frontend .ciu-section-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.ciu-summary-grid-frontend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.ciu-summary-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ciu-summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.ciu-summary-item .summary-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.ciu-summary-item .summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ciu-summary-item .summary-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ciu-summary-item .summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
}

/* Summary item specific colors */
.ciu-summary-item.total .summary-value {
    color: #000000;
}

.ciu-summary-item.pending .summary-value {
    color: #ed8936;
}

.ciu-summary-item.active .summary-value {
    color: #48bb78;
}

.ciu-summary-item.verified .summary-value {
    color: #9f7aea;
}

.ciu-summary-item.funds .summary-value {
    color: #38b2ac;
}

/* ========================================
   Categories Section
   ======================================== */
.ciu-categories-section-frontend {
    margin-top: 2rem;
}

.ciu-categories-section-frontend .ciu-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Category Card */
.ciu-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ciu-category-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ciu-category-header {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ciu-category-header:hover {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.category-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.ciu-category-icon {
    font-size: 2rem;
    line-height: 1;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.category-total-badge {
    background: #000000;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.category-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #4a5568;
    transition: transform 0.3s ease;
}

.category-toggle-btn .toggle-icon {
    display: inline-block;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.category-toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Category Content */
.ciu-category-content {
    padding: 1.5rem;
    background: #f7fafc;
}

/* ========================================
   Collections List
   ======================================== */
.collections-list {
    display: grid;
    gap: 1rem;
}

.collection-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.collection-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Collection Header */
.collection-header-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.collection-number {
    background: #4a5568;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.collection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
}

/* Status Badge */
.ciu-status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ciu-status-badge.status-pending {
    background: #fef5e7;
    color: #ed8936;
    border: 1px solid #fbd38d;
}

.ciu-status-badge.status-active {
    background: #f0fff4;
    color: #38a169;
    border: 1px solid #9ae6b4;
}

.ciu-status-badge.status-verified {
    background: #faf5ff;
    color: #805ad5;
    border: 1px solid #d6bcfa;
}

/* Collection Details */
.collection-details {
    display: grid;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.collection-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.collection-detail-item.description {
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    min-width: 120px;
}

.detail-value {
    font-size: 0.9375rem;
    color: #2d3748;
}

.detail-value.ciu-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.detail-value.datetime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.datetime-icon {
    font-size: 1rem;
}

.detail-value p {
    margin: 0;
    line-height: 1.6;
}

/* Collection Meta */
.collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    color: #718096;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.meta-icon {
    font-size: 0.875rem;
}

/* ========================================
   All Partners View
   ======================================== */
.ciu-all-partners > h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
}

.ciu-partner-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.ciu-partner-section:last-child {
    border-bottom: none;
}

.ciu-partner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: #ffffff;
    border-radius: 8px;
}

/* ========================================
   Notices & Errors
   ======================================== */
.ciu-notice,
.ciu-error {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9375rem;
}

.ciu-notice {
    background: #ebf8ff;
    color: #2c5282;
    border-left: 4px solid #3182ce;
}

.ciu-error {
    background: #fff5f5;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .ciu-summary-grid-frontend {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .ciu-summary-item .summary-value {
        font-size: 1.5rem;
    }

    .category-title-section {
        flex-wrap: wrap;
    }

    .collection-header-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-detail-item {
        flex-direction: column;
        gap: 0.375rem;
    }

    .detail-label {
        min-width: auto;
    }

    .collection-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .ciu-allocation-frontend-wrapper {
        padding: 0 0.5rem;
    }

    .ciu-summary-section-frontend {
        padding: 1.5rem 1rem;
    }

    .ciu-summary-grid-frontend {
        grid-template-columns: 1fr;
    }

    .ciu-category-header {
        padding: 1rem;
    }

    .ciu-category-content {
        padding: 1rem;
    }

    .collection-card {
        padding: 1rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .category-toggle-btn {
        display: none;
    }

    .ciu-category-content {
        display: block !important;
    }

    .ciu-category-card,
    .collection-card {
        break-inside: avoid;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.category-toggle-btn:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Smooth animations */
.ciu-category-content {
    transition: all 0.3s ease-in-out;
}

/* Loading state */
.ciu-allocation-frontend-wrapper.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ========================================
   Partner List View
   ======================================== */

/* Partner List Header */
.ciu-partners-list-wrapper {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ciu-partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-list-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-list-description {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Box */
.ciu-partners-search {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.partner-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.partner-search-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ciu-partners-search .search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Partner Grid */
.ciu-partners-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ciu-partners-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.ciu-partners-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.ciu-partners-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Partner Card */
.partner-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.partner-card.hero-partner {
    border-color: #f6ad55;
    box-shadow: 0 4px 20px rgba(246, 173, 85, 0.2);
}

.partner-card.hero-partner:hover {
    box-shadow: 0 20px 40px rgba(246, 173, 85, 0.3);
}

.hero-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: #ffffff;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(237, 137, 54, 0.3);
}

.hero-icon {
    font-size: 1rem;
}

/* Partner Card Link */
.partner-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Partner Card Header */
.partner-card-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-logo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-initial {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.partner-card-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

/* Partner Card Stats */
.partner-card-stats {
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 columns (only 2 stats displayed) */
    gap: 1rem;
    background: #ffffff;
    justify-content: center; /* Center the grid items horizontally */
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.stat-item:hover {
    background: #f7fafc;
}

.stat-icon {
    font-size: 1.5rem;
    display: none; /* Icons hidden from frontend display */
    margin-bottom: 0.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.125rem; /* Reduced from 1.5rem (24px) to 1.125rem (18px) */
    font-weight: 700;
    color: #2d3748;
}

.stat-label {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Partner Card Footer */
.partner-card-footer {
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    text-align: center;
}

.view-details-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.partner-card:hover .view-details-link {
    gap: 0.875rem;
}

.arrow-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.partner-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* No Partners Found */
.no-partners-found {
    text-align: center;
    padding: 3rem 2rem;
    background: #f7fafc;
    border-radius: 12px;
    margin-top: 2rem;
}

.no-partners-found p {
    font-size: 1.125rem;
    color: #718096;
    margin: 0;
}

/* ========================================
   Partner Detail View
   ======================================== */

.ciu-partner-detail-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ciu-partner-detail-header {
    margin-bottom: 2rem;
}

.ciu-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.ciu-back-button:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: translateX(-4px);
}

.back-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.ciu-back-button:hover .back-arrow {
    transform: translateX(-4px);
}

.partner-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Responsive - Partner List
   ======================================== */

@media (max-width: 1024px) {
    .ciu-partners-grid[data-columns="4"] {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .ciu-partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .partners-list-title {
        font-size: 2rem;
    }

    .partner-card-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .stat-icon {
        margin-bottom: 0;
    }

    .stat-content {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .stat-value {
        font-size: 1rem; /* Reduced from 1.25rem (20px) to 1rem (16px) for mobile */
    }

    .stat-label {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .ciu-partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card-header {
        padding: 1.5rem 1rem;
    }

    .partner-card-stats {
        padding: 1rem;
    }

    .partner-detail-title {
        font-size: 1.75rem;
        padding: 1rem 1.5rem;
    }
}

/* =====================================================
   CONSERVATION IMPACT DASHBOARD - BLACK & WHITE CORPORATE DESIGN
   ===================================================== */

/* Dashboard Wrapper */
.ciu-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #000000;
}

/* Partner Logo Section */
.dashboard-logo-section {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #000000;
}

.partner-logo-large {
    margin: 0 auto 20px;
    max-width: 200px;
}

.partner-logo-img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #000000;
    border-radius: 0;
    background: #ffffff;
}

.partner-logo-placeholder-large {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
}

.logo-initial-large {
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.partner-name-large {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Stats Section */
.dashboard-stats-section {
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    border: 2px solid #000000;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    color: inherit;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: inherit;
}

/* Categories Section */
.dashboard-categories-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #000000;
    padding-bottom: 15px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #000000;
    padding-bottom: 0;
}

.category-tab {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-bottom: none;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    bottom: -2px;
}

.category-tab:hover {
    background: #f5f5f5;
}

.category-tab.active {
    background: #000000;
    color: #ffffff;
    border-bottom: 2px solid #000000;
}

/* Icons removed from front-end display */
/* .tab-icon {
    font-size: 20px;
} */

.tab-name {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-badge {
    background: #ffffff;
    color: #000000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
    border: 1px solid #000000;
}

.category-tab.active .tab-badge {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

/* Category Panels */
.category-panels {
    position: relative;
    min-height: 400px;
}

.category-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.category-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #000000;
    color: #ffffff;
}

.panel-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-total {
    font-size: 16px;
    font-weight: 600;
}

/* Collections Table */
.collections-table-wrapper {
    overflow-x: auto;
    border: 2px solid #000000;
}

.collections-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.collections-table thead {
    background: #000000;
    color: #ffffff;
}

.collections-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border-right: 1px solid #ffffff;
}

.collections-table th:last-child {
    border-right: none;
}

.collections-table tbody tr {
    border-bottom: 1px solid #000000;
    transition: background 0.2s ease;
}

.collections-table tbody tr:hover {
    background: #f5f5f5;
}

.collections-table tbody tr:last-child {
    border-bottom: none;
}

.collections-table td {
    padding: 20px;
    vertical-align: top;
    border-right: 1px solid #e0e0e0;
}

.collections-table td:last-child {
    border-right: none;
}

.collection-number {
    font-weight: 700;
    font-size: 16px;
    color: #000000;
}

.collection-title-cell strong {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
}

.collection-amount strong {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000000;
}

.status-badge.status-pending {
    background: #ffffff;
    color: #000000;
}

.status-badge.status-active {
    background: #000000;
    color: #ffffff;
}

.status-badge.status-verified {
    background: #ffffff;
    color: #000000;
    border-style: dashed;
}

.collection-datetime {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    white-space: nowrap;
}

.collection-description {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    max-width: 300px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tabs {
        flex-direction: column;
    }
    
    .category-tab {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 768px) {
    .ciu-dashboard-wrapper {
        padding: 20px 15px;
    }
    
    .partner-name-large {
        font-size: 24px;
    }
    
    .partner-logo-large,
    .partner-logo-placeholder-large {
        width: 150px;
        height: 150px;
    }
    
    .logo-initial-large {
        font-size: 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .collections-table {
        font-size: 13px;
    }
    
    .collections-table th,
    .collections-table td {
        padding: 10px;
    }
}

@media screen and (max-width: 640px) {
    .collections-table-wrapper {
        overflow-x: scroll;
    }
    
    .collections-table {
        min-width: 800px;
    }
}

/* Print Styles */
@media print {
    .category-tabs {
        display: none;
    }
    
    .category-panel {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .stat-card {
        border: 1px solid #000000;
    }
    
    .collections-table {
        page-break-inside: auto;
    }
    
    .collection-row {
        page-break-inside: avoid;
    }
}

/* =====================================================
   MODERN MINIMAL DESIGN - INSPIRED BY APPLE/STRIPE/LINEAR
   ===================================================== */

/* Reset and Base Styles */
.ciu-minimal-dashboard {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.7;
}

/* ========== LOGO SECTION ========== */
.minimal-logo-section {
    text-align: center;
    margin-bottom: 80px;
}

.partner-logo-minimal {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.partner-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-logo-placeholder-minimal {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.2);
}

.logo-letter {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.partner-title-minimal {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* ========== STATS SECTION ========== */
.minimal-stats-section {
    margin-bottom: 80px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #000000 0%, #000000 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
}

/* ========== TABS SECTION ========== */
.minimal-tabs-section {
    margin-bottom: 80px;
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    padding: 6px;
    background: #f8fafc;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs-navigation::-webkit-scrollbar {
    height: 4px;
}

.tabs-navigation::-webkit-scrollbar-track {
    background: transparent;
}

.tabs-navigation::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.tab-button {
    flex: 1;
    min-width: 140px;
    background: transparent;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.tab-button:hover {
    background: #ffffff;
    color: #334155;
}

.tab-button.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Icons removed from front-end display */
/* .tab-icon {
    font-size: 18px;
    line-height: 1;
} */

.tab-label {
    font-weight: 600;
}

.tab-count {
    font-size: 13px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 32px;
    text-align: center;
}

.tab-button.active .tab-count {
    background: #eef2ff;
    color: #000000;
}

/* Tabs Content */
.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Header */
.panel-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.panel-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icons removed from front-end display */
/* .panel-icon {
    font-size: 28px;
    line-height: 1;
} */

.panel-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.panel-meta {
    font-size: 15px;
    color: #64748b;
}

.panel-total {
    font-weight: 600;
    color: #334155;
}

/* ========== COLLECTIONS GRID ========== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Collection Card */
.collection-card-minimal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.collection-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #000000 0%, #000000 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.collection-card-minimal:hover::before {
    transform: scaleX(1);
}

/* Card Header */
.collection-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.collection-number-badge {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Status Pills */
.status-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pill.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-pill.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-pill.status-verified {
    background: #dbeafe;
    color: #1e40af;
}

/* Card Body */
.collection-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.collection-title-minimal {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.collection-description-minimal {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Collection Meta Grid */
.collection-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

.meta-value.highlight {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .ciu-minimal-dashboard {
        padding: 60px 20px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .ciu-minimal-dashboard {
        padding: 40px 16px;
    }

    .minimal-logo-section {
        margin-bottom: 60px;
    }

    .partner-logo-minimal,
    .partner-logo-placeholder-minimal {
        width: 100px;
        height: 100px;
    }

    .logo-letter {
        font-size: 40px;
    }

    .partner-title-minimal {
        font-size: 32px;
    }

    .minimal-stats-section {
        margin-bottom: 60px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-box {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 26px;
    }

    .tabs-navigation {
        flex-direction: column;
        gap: 4px;
    }

    .tab-button {
        justify-content: flex-start;
        min-width: 100%;
    }

    .panel-header-minimal {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .panel-title {
        font-size: 24px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .collection-card-minimal {
        padding: 20px;
    }

    .collection-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .ciu-minimal-dashboard {
        padding: 32px 12px;
    }

    .partner-title-minimal {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

    .panel-title {
        font-size: 20px;
    }

    .collection-title-minimal {
        font-size: 18px;
    }
}

/* ========== ACCESSIBILITY ========== */

/* Focus States */
.tab-button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) - DISABLED FOR LIGHT MODE ENFORCEMENT */
/* @media (prefers-color-scheme: dark) {
    .ciu-minimal-dashboard {
        background: #0f172a;
        color: #f1f5f9;
    }

    .partner-title-minimal,
    .stat-number,
    .panel-title,
    .collection-title-minimal {
        color: #f1f5f9;
    }

    .stat-box,
    .collection-card-minimal {
        background: #1e293b;
        border-color: #334155;
    }

    .tabs-navigation {
        background: #1e293b;
    }

    .tab-button {
        color: #94a3b8;
    }

    .tab-button:hover {
        background: #334155;
        color: #f1f5f9;
    }

    .tab-button.active {
        background: #334155;
        color: #818cf8;
    }

    .panel-header-minimal {
        border-bottom-color: #334155;
    }

    .collection-number-badge {
        background: #334155;
        color: #cbd5e1;
    }

    .meta-value {
        color: #cbd5e1;
    }
} */

/* ========== PRINT STYLES ========== */
@media print {
    .ciu-minimal-dashboard {
        padding: 20px;
    }

    .tabs-navigation {
        display: none;
    }

    .tab-panel {
        display: block !important;
        page-break-inside: avoid;
    }

    .collection-card-minimal {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}

/* =====================================================
   COLLECTION DETAILS MODAL
   ===================================================== */

/* View Details Button */
.view-collection-details-btn {
    margin-top: 16px;
    width: 100%;
    padding: 12px 20px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.view-collection-details-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-collection-details-btn:active {
    transform: translateY(0);
}

/* Modal Container */
.collection-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
    flex: 1;
    padding-right: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Modal Body */
.modal-body {
    padding: 28px;
}

/* Modal Meta Grid */
.modal-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-meta-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-meta-value {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.modal-ciu-amount {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
}

.modal-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.modal-status-badge.status-active {
    background: #dcfce7;
    color: #166534;
}

.modal-status-badge.status-verified {
    background: #dbeafe;
    color: #1e40af;
}

/* Description Section */
.modal-description-section {
    margin-top: 24px;
}

.modal-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-description-content {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .collection-modal {
        padding: 0;
    }

    .modal-container {
        border-radius: 0;
        max-height: 100vh;
        max-width: 100%;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-meta {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .modal-ciu-amount {
        font-size: 24px;
    }

    .modal-description-content {
        font-size: 15px;
    }
}

/* Smooth scroll for modal content */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ========================================
   FORCE LIGHT MODE - PREVENT DARK MODE OVERRIDE
   ======================================== */

/* Force light color scheme on all elements */
:root,
html,
body {
    color-scheme: light only !important;
    background-color: #ffffff !important;
    color: #1a202c !important;
}

/* Override dark mode media query - Force light mode styles */
@media (prefers-color-scheme: dark) {

    /* Root elements stay light */
    :root,
    html,
    body {
        color-scheme: light only !important;
        background-color: #ffffff !important;
        color: #1a202c !important;
    }

    /* Partner Dashboard stays light */
    .ciu-minimal-dashboard {
        background: #f8fafc !important;
        color: #0f172a !important;
    }

    /* Headings and titles stay dark text */
    .partner-title-minimal,
    .stat-number,
    .panel-title,
    .collection-title-minimal,
    .modal-title,
    h1, h2, h3, h4, h5, h6 {
        color: #0f172a !important;
    }

    /* Stats labels stay muted dark */
    .stat-label {
        color: #64748b !important;
    }

    /* Card backgrounds stay white */
    .stat-box,
    .collection-card-minimal,
    .partner-card,
    .modal-container {
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    /* Tab navigation stays light */
    .tabs-navigation {
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    /* Tab buttons stay muted dark text */
    .tab-button {
        color: #64748b !important;
        background: #f8fafc !important;
    }

    /* Active tab button stays dark */
    .tab-button.active {
        color: #0f172a !important;
        background: #ffffff !important;
        border-color: #0f172a !important;
    }

    /* Tab panels stay white */
    .tab-panel {
        background: #ffffff !important;
    }

    /* Panel headers stay light */
    .panel-header-minimal {
        background: #f8fafc !important;
        border-color: #e2e8f0 !important;
    }

    /* Status badges stay light */
    .status-pill {
        background: #f1f5f9 !important;
        color: #0f172a !important;
    }

    .status-pill.status-pending {
        background: #fef3c7 !important;
        color: #92400e !important;
    }

    .status-pill.status-active {
        background: #dbeafe !important;
        color: #1e40af !important;
    }

    .status-pill.status-verified {
        background: #d1fae5 !important;
        color: #065f46 !important;
    }

    /* Collection descriptions stay dark text */
    .collection-description-minimal {
        color: #475569 !important;
    }

    /* Meta labels and values stay correct colors */
    .meta-label,
    .modal-meta-label {
        color: #64748b !important;
    }

    .meta-value,
    .modal-meta-value {
        color: #0f172a !important;
    }

    .meta-value.highlight {
        color: #000000 !important;
    }

    /* Buttons stay styled correctly */
    .view-collection-details-btn {
        background: #0f172a !important;
        color: #ffffff !important;
    }

    .view-collection-details-btn:hover {
        background: #1e293b !important;
    }

    /* Modal overlay stays semi-transparent dark */
    .modal-overlay {
        background: rgba(15, 23, 42, 0.75) !important;
    }

    /* Modal scrollbar stays light */
    .modal-container::-webkit-scrollbar-track {
        background: #f1f5f9 !important;
    }

    .modal-container::-webkit-scrollbar-thumb {
        background: #cbd5e1 !important;
    }

    .modal-container::-webkit-scrollbar-thumb:hover {
        background: #94a3b8 !important;
    }

    /* Partner list header stays light */
    .ciu-partners-header {
        background: #ffffff !important;
    }

    .partners-list-title,
    .partners-list-description {
        color: #0f172a !important;
    }

    /* Search box stays white */
    .partner-search-input {
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
        color: #0f172a !important;
    }

    .partner-search-input::placeholder {
        color: #94a3b8 !important;
    }

    /* Partner grid stays light */
    .ciu-partners-grid {
        background: #f8fafc !important;
    }

    /* Partner cards stay white */
    .partner-card {
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    .partner-card-header {
        background: #ffffff !important;
    }

    .partner-card-title {
        color: #0f172a !important;
    }

    .partner-card-stats {
        background: #ffffff !important;
        border-color: #e2e8f0 !important;
    }

    .stat-item {
        background: #ffffff !important;
    }

    .stat-value {
        color: #0f172a !important;
    }

    .stat-label {
        color: #64748b !important;
    }

    .partner-card-footer {
        background: #f8fafc !important;
        border-color: #e2e8f0 !important;
    }

    .view-details-link {
        color: #0f172a !important;
    }

    /* Hero badge stays light gold */
    .hero-badge {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
        color: #78350f !important;
    }

    /* Logo placeholder stays light */
    .partner-logo-placeholder,
    .partner-logo-placeholder-minimal {
        background: #f1f5f9 !important;
        color: #64748b !important;
    }

    /* Collection number badge stays white */
    .collection-number-badge {
        background: #ffffff !important;
        color: #0f172a !important;
        border-color: #e2e8f0 !important;
    }

    /* Prevent image inversion */
    img {
        filter: none !important;
    }

    /* Force all text to be dark on light background */
    * {
        color-scheme: light only !important;
    }

    /* Ensure all backgrounds stay light */
    div,
    section,
    article,
    aside,
    main,
    header,
    footer,
    nav {
        background-color: inherit !important;
    }
}

/* Additional enforcement for Safari and iOS */
@supports (-webkit-appearance: none) {
    :root {
        color-scheme: light only !important;
    }

    html,
    body {
        color-scheme: light only !important;
        background-color: #ffffff !important;
    }
}

/* Force light mode on all supported browsers */
html {
    color-scheme: light only !important;
}

body {
    color-scheme: light only !important;
}

/* Meta theme-color enforcement (for mobile browsers) */
meta[name="theme-color"] {
    content: "#ffffff" !important;
}

/* Prevent auto dark mode on inputs and forms */
input,
textarea,
select,
button {
    color-scheme: light only !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* END FORCE LIGHT MODE */
