/* TokenTreasuryTracker - Custom Styles */
/* Following brand style guide: Primary Gold #FFC107, Jet Black #000000, Accent White #FFFFFF */

:root {
    --primary-gold: #FFC107;
    --jet-black: #000000;
    --accent-white: #FFFFFF;
    --success-green: #4CAF50;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--jet-black);
    margin-bottom: 1rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--jet-black);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
}

.section-header {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--jet-black);
    margin-bottom: 1.5rem;
}

/* Navigation */
.custom-navbar {
    background-color: var(--accent-white);
    box-shadow: 0 2px 20px var(--shadow-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--jet-black);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jet-black);
}

.navbar-nav .nav-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--dark-gray);
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--jet-black);
    background-color: rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--jet-black);
    background-color: rgba(255, 193, 7, 0.15);
}

.donate-btn {
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    color: var(--jet-black);
    font-weight: 600;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: var(--jet-black);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border: none;
    color: var(--jet-black);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: var(--jet-black);
}

.btn-donation {
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border: none;
    color: var(--jet-black);
    font-weight: 600;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-donation:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: var(--jet-black);
}

.cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--accent-white), #f8f9fa);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-white), #f8f9fa);
    padding: 5rem 0;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--jet-black);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: var(--accent-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.floating-card i {
    font-size: 3rem;
    color: var(--primary-gold);
}

.floating-card h5 {
    color: var(--jet-black);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--accent-white);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--accent-white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
    border-color: var(--primary-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--jet-black);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--jet-black);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Donation Section */
.donation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, var(--accent-white));
}

.donation-card {
    background: var(--accent-white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
}

.donation-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--jet-black);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.donation-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--jet-black);
    margin-bottom: 1rem;
}

.donation-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.donation-subtitle {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.donation-note {
    margin-top: 2rem;
}

/* Sections */
.section-container {
    padding: 3rem 0;
    background: var(--accent-white);
    margin-bottom: 2rem;
}

.section-container:nth-child(even) {
    background: var(--light-gray);
}

/* Charts and Tables */
.chart-container {
    background: var(--accent-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure chart grid rows have equal height columns */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-4 > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-filters {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.filter-select {
    min-width: 150px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.date-range-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--accent-white);
    border-radius: 10px;
    padding: 0.375rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.date-tab {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.date-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s ease;
}

.date-tab:hover {
    background: var(--light-gray);
    color: var(--jet-black);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}

.date-tab:hover::before {
    left: 100%;
}

.date-tab.active {
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    color: var(--jet-black);
    font-weight: 600;
    border-color: var(--primary-gold);
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.4);
    transform: translateY(-1px);
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-top: 1rem;
}

/* Make the chart look better on about page */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Move chart to the right on larger screens only */
@media (min-width: 992px) {
    .hero-section .hero-visual {
        justify-content: flex-end;
        padding-left: 5rem;
        padding-right: 1rem;
    }
}

.hero-section .chart-container {
    width: 100%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section .chart-wrapper {
    height: 350px;
}

.hero-section .chart-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-section .chart-subtitle {
    font-size: 1rem;
}

.hero-section .chart-watermark {
    display: none;
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--jet-black);
    margin-bottom: 1.5rem;
}

.chart-header-center {
    text-align: center;
}

.chart-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Tables */
.custom-table {
    background: var(--accent-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-light);
}

.custom-table th {
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    color: var(--jet-black);
    font-weight: 600;
    padding: 1rem;
    border: none;
    font-family: var(--font-primary);
}

.custom-table td {
    padding: 1rem;
    border-color: var(--border-color);
    transition: background-color 0.3s ease;
}

.custom-table tbody tr:hover {
    background-color: rgba(255, 193, 7, 0.05);
}

/* Filter Section */
.filter-section {
    padding: 2rem 0;
    background: var(--accent-white);
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.filter-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Metrics Section */
.metrics-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.metric-card {
    background: var(--accent-white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow-light);
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--jet-black);
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1);
}

.metric-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--jet-black);
    margin: 0;
}

/* Historical Filters */
.historical-filters {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

/* Footer */
.custom-footer {
    background: var(--jet-black);
    color: var(--accent-white);
    padding: 2rem 0;
    margin-top: 4rem;
}

.custom-footer p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-filters {
        width: 100%;
        justify-content: space-between;
    }
    
    .date-range-tabs {
        flex-wrap: wrap;
    }
    
    .metric-card {
        margin-bottom: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .donation-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .chart-wrapper {
        height: 300px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .date-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary-gold {
    color: var(--primary-gold);
}

.bg-primary-gold {
    background-color: var(--primary-gold);
}

.border-primary-gold {
    border-color: var(--primary-gold);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Last Updated Text */
.last-updated-text {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    font-style: italic;
    white-space: nowrap;
}

/* ==================== */
/*   WATERMARK STYLES   */
/* ==================== */

/* Chart watermark styles */
.chart-wrapper {
    position: relative;
}

.chart-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
    text-align: center;
    width: 100%;
    color: var(--primary-gold);
    font-family: var(--font-primary);
}

.chart-watermark-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.chart-watermark-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--jet-black);
    font-weight: 600;
}

.chart-watermark-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* Table container watermark */
.chart-container {
    position: relative;
}

.table-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
    text-align: center;
    color: var(--primary-gold);
    font-family: var(--font-secondary);
}

.table-watermark-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.table-watermark-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-gold), #ffca28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--jet-black);
    font-weight: 600;
}

.table-watermark-text {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: var(--font-primary);
}

/* Ensure chart canvas and table are above watermark */
canvas {
    position: relative;
    z-index: 2;
}

.table-responsive {
    position: relative;
    z-index: 2;
}

/* Responsive watermark adjustments */
@media (max-width: 768px) {
    .chart-watermark-logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .chart-watermark-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .chart-watermark-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .table-watermark-logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .table-watermark-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .table-watermark-text {
        font-size: 24px;
        letter-spacing: 2px;
    }
}

/* Custom Multi-Select Dropdown Styling */
.custom-multiselect-dropdown {
    position: relative;
    width: 100%;
    min-width: 180px;
}

.multiselect-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: none;
    border: 2px solid #ced4da;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.multiselect-trigger:hover {
    border-color: #86b7fe;
}

.multiselect-trigger.active {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.multiselect-value {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #495057;
    min-width: 0;
    padding-right: 8px;
}

.multiselect-value.placeholder {
    color: #6c757d;
}

.multiselect-arrow {
    color: #6c757d;
    font-size: 0.875rem;
    transition: transform 0.2s ease-in-out;
    margin-left: 0.5rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.multiselect-trigger.active .multiselect-arrow {
    transform: rotate(180deg);
}

.multiselect-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.multiselect-options.show {
    display: block;
}

.multiselect-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    border-bottom: 1px solid #f8f9fa;
}

.multiselect-option:last-child {
    border-bottom: none;
}

.multiselect-option:hover {
    background-color: #f8f9fa;
}

.multiselect-option input[type="checkbox"] {
    margin: 0;
    margin-right: 0.5rem;
    accent-color: #0d6efd;
    cursor: pointer;
}

.multiselect-option label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    flex: 1;
    color: #212529;
}

/* Professional checkbox styling */
.multiselect-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    position: relative;
    border: 2px solid #ced4da;
    border-radius: 3px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.multiselect-option input[type="checkbox"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.multiselect-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 1px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.multiselect-option input[type="checkbox"]:hover {
    border-color: #86b7fe;
}

/* Custom dropdown styling (matches multiselect but single select) */
.custom-dropdown {
    position: relative;
    width: 100%;
    min-width: 180px;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: none;
    border: 2px solid #ced4da;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.dropdown-trigger:hover {
    border-color: #86b7fe;
}

.dropdown-trigger.active {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.dropdown-value {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #495057;
    font-weight: 400;
}

.dropdown-arrow {
    margin-left: 0.75rem;
    transition: transform 0.15s ease-in-out;
    color: #6c757d;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease-in-out;
    display: flex;
    align-items: center;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.dropdown-option.selected {
    background-color: #e7f3ff;
    font-weight: 500;
}

.dropdown-option span {
    flex: 1;
    color: #212529;
    font-weight: 400;
}

.dropdown-option.selected span {
    color: #0d6efd;
    font-weight: 500;
}

/* Share Button Styling */
.btn-share {
    background: linear-gradient(135deg, var(--accent-white), #f8f9fa);
    border: 2px solid var(--border-color);
    color: var(--medium-gray);
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-share:hover {
    border-color: var(--primary-gold);
    color: var(--jet-black);
    background: linear-gradient(135deg, var(--accent-white), rgba(255, 193, 7, 0.05));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.btn-share:hover::before {
    left: 100%;
}

.btn-share:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.btn-share i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-share:hover i {
    transform: scale(1.1);
}

.btn-share span {
    font-family: var(--font-secondary);
    letter-spacing: 0.3px;
}

/* See More button hover styling */
.btn-outline-primary:hover {
    background-color: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    color: var(--jet-black) !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .multiselect-options {
        max-height: 150px;
    }
    
    .multiselect-option {
        padding: 0.75rem;
    }
    
    .btn-share {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-share span {
        display: none;
    }
    
    .btn-share i {
        margin: 0;
    }
}

/* Donation Modal Styling */
#donationModal .modal-dialog {
    max-width: 600px;
}

#donationModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

#donationModal .modal-header {
    background: linear-gradient(135deg, var(--primary-gold), #f7c52d);
    color: var(--jet-black);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}

#donationModal .modal-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--jet-black);
}

#donationModal .btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--jet-black);
    opacity: 0.8;
}

#donationModal .btn-close:hover {
    opacity: 1;
}

#donationModal .modal-body {
    padding: 1.5rem;
    background: #ffffff;
}

#donationModal .donation-instruction {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--jet-black);
    font-family: var(--font-secondary);
}

#donationModal .donation-addresses {
    font-family: var(--font-primary);
}

#donationModal .address-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

#donationModal .address-item:hover {
    background: #f1f3f5;
    transform: translateX(2px);
}

#donationModal .address-item strong {
    color: var(--jet-black);
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

#donationModal .address-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.2s ease;
}

#donationModal .address-value:hover {
    background: #f8f9fa;
    border-color: var(--primary-gold);
}

#donationModal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    justify-content: center;
}

#donationModal .btn-warning {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--jet-black);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

#donationModal .btn-warning:hover {
    background: #f7c52d;
    border-color: #f7c52d;
    color: var(--jet-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

#donationModal .copy-icon {
    opacity: 0.6;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

#donationModal .address-value:hover .copy-icon {
    opacity: 1;
    color: var(--primary-gold);
}

/* Custom Toast Styling */
.toast {
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toast-header {
    background: var(--primary-gold);
    color: var(--jet-black);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.toast-body {
    background: #ffffff;
    color: var(--jet-black);
    font-family: var(--font-primary);
    border-radius: 0 0 8px 8px;
}

.toast .btn-close {
    color: var(--jet-black);
    opacity: 0.8;
}

.toast .btn-close:hover {
    opacity: 1;
}