/**
 * ABD Ambassador System - Frontend Styles
 * Version: 1.0.0
 */

/* ============================================
   AMBASSADOR REGISTRATION FORMS
   ============================================ */

.uwp-form-row.ambassador-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.uwp-form-fieldset-title {
    font-size: 18px;
    font-weight: 600;
    color: #135e96;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #135e96;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uwp-form-fieldset-title i {
    color: #135e96;
}

/* Ambassador form fields styling */
.uwp-form-row.ambassador-field {
    margin-bottom: 20px;
}

.uwp-form-row.ambassador-field label {
    font-weight: 500;
    color: #3c434a;
    margin-bottom: 5px;
    display: block;
}

.uwp-form-row.ambassador-field .uwp-help-tip {
    color: #646970;
    font-size: 13px;
    margin-top: 4px;
    font-style: italic;
}

/* Territory selection styling */
.territory-select-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.territory-select-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
}

.territory-select-group select:focus {
    outline: none;
    border-color: #135e96;
    box-shadow: 0 0 0 1px #135e96;
}

/* ===== MODERN AMBASSADOR DASHBOARD ===== */
.ambassador-dashboard-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== STATUS ALERTS ===== */
.ambassador-status-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.ambassador-status-alert.status-pending {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.ambassador-status-alert.status-suspended {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ambassador-status-alert.status-active {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== DASHBOARD HEADER ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.welcome-section h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
}

.welcome-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.ambassador-badge {
    text-align: center;
    background: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.badge-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.badge-code {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* ===== QUICK STATS GRID ===== */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
}

/* ===== DASHBOARD TABS ===== */
.dashboard-tabs {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-link {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.tab-link.active {
    color: #667eea;
    background: white;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ===== TAB CONTENT ===== */
.tab-content-wrapper {
    padding: 30px;
}

.tab-content {
    display: none;
}

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

/* ===== OVERVIEW TAB ===== */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-card,
.commission-summary-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.activity-card h3,
.commission-summary-card h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.activity-icon.commission {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.activity-icon.attribution {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.activity-meta {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 2px;
}

.activity-time {
    font-size: 12px;
    color: #adb5bd;
}

.activity-amount {
    font-weight: bold;
    color: #28a745;
    font-size: 14px;
}

/* ===== COMMISSION SUMMARY ===== */
.commission-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.commission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.commission-amount {
    font-weight: bold;
    font-size: 16px;
}

.commission-amount.total { color: #28a745; }
.commission-amount.pending { color: #ffc107; }
.commission-amount.paid { color: #17a2b8; }
.commission-amount.this-month { color: #6f42c1; }

/* ===== FREE LISTINGS TAB ===== */
.free-listings-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quota-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 30px;
    border-radius: 16px;
}

.quota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.quota-header h3 {
    margin: 0;
    font-size: 20px;
}

.quota-display {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.quota-numbers {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 18px;
}

.quota-used {
    font-size: 36px;
    font-weight: bold;
}

.quota-separator {
    font-size: 24px;
    opacity: 0.8;
}

.quota-limit {
    font-size: 20px;
    opacity: 0.9;
}

.quota-label {
    font-size: 14px;
    opacity: 0.8;
}

.quota-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quota-remaining {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.categories-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.category-card {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.category-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.category-examples {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.category-bonus {
    font-weight: bold;
    color: #ff9800;
}

/* ===== RECENT LISTINGS ===== */
.recent-listings-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.recent-listings-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.listings-table table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-collapse: collapse;
}

.listings-table th,
.listings-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.listings-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.listings-table tr:hover {
    background: #f8f9fa;
}

.category-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.bonus-amount {
    color: #28a745;
    font-weight: bold;
}

/* ===== REFERRALS TAB ===== */
.referrals-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.referral-link-card {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.referral-link-card h3 {
    margin: 0 0 16px 0;
    color: #2c3e50;
}

.referral-link-input {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.referral-link-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: monospace;
    background: white;
}

.referral-tip {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

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

.referral-stat {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.referral-stat .stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.referral-stat .stat-label {
    font-size: 14px;
    color: #6c757d;
}

.attribution-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.attribution-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.attribution-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 8px;
}

.attribution-type {
    font-weight: 600;
    color: #2c3e50;
}

.attribution-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.attribution-count {
    font-weight: bold;
    color: #667eea;
}

.attribution-percentage {
    font-size: 14px;
    color: #6c757d;
}

/* ===== COMMISSIONS TAB ===== */
.commissions-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.earnings-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.earnings-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.earnings-card.total .earnings-icon { background: linear-gradient(135deg, #28a745, #20c997); }
.earnings-card.pending .earnings-icon { background: linear-gradient(135deg, #ffc107, #ff8c00); }
.earnings-card.paid .earnings-icon { background: linear-gradient(135deg, #17a2b8, #6f42c1); }
.earnings-card.month .earnings-icon { background: linear-gradient(135deg, #6f42c1, #e83e8c); }

.earnings-amount {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 4px;
}

.earnings-label {
    font-size: 14px;
    color: #6c757d;
}

.commission-performance {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.commission-performance h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

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

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 8px;
}

.metric-label {
    font-weight: 500;
    color: #2c3e50;
}

.metric-value {
    font-weight: bold;
    color: #667eea;
}

/* ===== TOOLS TAB ===== */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tool-card h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-card p {
    margin: 0 0 20px 0;
    color: #6c757d;
    font-size: 14px;
}

/* ===== LINK GENERATOR ===== */
.generator-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.generator-inputs label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.generator-inputs select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
}

.generated-link {
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.generated-link label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.link-output {
    display: flex;
    gap: 8px;
}

.link-output input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}

/* ===== SOCIAL BUTTONS ===== */
.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.linkedin { background: #0077b5; }

/* ===== RESOURCES ===== */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.resource-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px;
   border-radius: 8px;
   color: #2c3e50;
   text-decoration: none;
   transition: background 0.2s ease;
}

.resource-item:hover {
   background: #f8f9fa;
   color: #667eea;
   text-decoration: none;
}

/* ===== BUTTONS ===== */
.btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 12px 20px;
   border: none;
   border-radius: 8px;
   font-weight: 600;
   cursor: pointer;
   text-decoration: none;
   transition: all 0.2s ease;
}

.btn-primary {
   background: linear-gradient(135deg, #667eea, #764ba2);
   color: white;
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
   background: #6c757d;
   cursor: not-allowed;
   transform: none;
   box-shadow: none;
}

.btn-copy {
   background: #f8f9fa;
   color: #6c757d;
   border: 2px solid #e9ecef;
}

.btn-copy:hover {
   background: #e9ecef;
   color: #495057;
}

/* ===== EMPTY STATES ===== */
.no-activity,
.no-listings {
   text-align: center;
   padding: 40px 20px;
   color: #6c757d;
}

.no-activity i,
.no-listings i {
   font-size: 48px;
   color: #dee2e6;
   margin-bottom: 16px;
   display: block;
}

.no-activity p,
.no-listings p {
   margin: 0;
   font-size: 16px;
   line-height: 1.5;
}

/* ===== ENHANCED EMPTY STATES ===== */
.activity-card .no-activity {
   background: white;
   border-radius: 8px;
   margin: 16px 0;
}

.recent-listings-section .no-listings {
   background: white;
   border-radius: 8px;
   margin: 16px 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
   .ambassador-dashboard-modern {
       padding: 15px;
   }
   
   .dashboard-header {
       flex-direction: column;
       gap: 20px;
       text-align: center;
   }
   
   .quick-stats-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .tab-navigation {
       flex-wrap: wrap;
   }
   
   .tab-link {
       flex: none;
       min-width: 50%;
   }
   
   .overview-grid {
       grid-template-columns: 1fr;
   }
   
   .quota-display {
       grid-template-columns: 1fr;
       text-align: center;
   }
   
   .referral-stats-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .earnings-cards {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .tools-container {
       grid-template-columns: 1fr;
   }
   
   .social-buttons {
       grid-template-columns: 1fr;
   }
}

@media (max-width: 640px) {
   .overview-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   .quick-stats-grid {
       grid-template-columns: 1fr;
       gap: 15px;
   }
   
   .stat-card {
       padding: 20px;
   }
   
   .dashboard-header {
       flex-direction: column;
       text-align: center;
       gap: 20px;
   }
   
   .ambassador-badge {
       align-self: stretch;
   }
}

@media (max-width: 480px) {
   .quick-stats-grid,
   .referral-stats-grid,
   .earnings-cards {
       grid-template-columns: 1fr;
   }
   
   .tab-link {
       min-width: 100%;
       font-size: 13px;
       padding: 12px 16px;
   }
   
   .referral-link-input {
       flex-direction: column;
   }
   
   .link-output {
       flex-direction: column;
   }
   
   .categories-grid {
       grid-template-columns: 1fr;
   }
}

/* ===== ANIMATION CLASSES ===== */
@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(20px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.tab-content.active {
   animation: fadeInUp 0.3s ease-out;
}

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

.success-pulse {
   animation: pulse 0.6s ease-in-out;
}

/* ===== LOADING STATES ===== */
.loading-skeleton {
   background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
   background-size: 200% 100%;
   animation: loading 1.5s infinite;
}

@keyframes loading {
   0% {
       background-position: 200% 0;
   }
   100% {
       background-position: -200% 0;
   }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.btn:focus,
.tab-link:focus,
.social-btn:focus {
   outline: 2px solid #667eea;
   outline-offset: 2px;
}

.stat-card:focus-within {
   outline: 2px solid #667eea;
   outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
   .ambassador-dashboard-modern {
       background: white !important;
       color: black !important;
   }
   
   .dashboard-header {
       background: white !important;
       color: black !important;
       border: 1px solid #000;
   }
   
   .tab-navigation {
       display: none;
   }
   
   .tab-content {
       display: block !important;
       page-break-inside: avoid;
   }
   
   .btn {
       display: none;
   }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
   .dashboard-header {
       background: #000;
       color: #fff;
   }
   
   .stat-card {
       border: 2px solid #000;
   }
   
   .tab-link.active {
       background: #000;
       color: #fff;
   }
}

/* ===== 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 ===== */
@media (prefers-color-scheme: dark) {
   .ambassador-dashboard-modern {
       background: #1a1a1a;
       color: #e0e0e0;
   }
   
   .stat-card,
   .activity-card,
   .commission-summary-card,
   .tool-card {
       background: #2d2d2d;
       color: #e0e0e0;
   }
   
   .dashboard-tabs {
       background: #2d2d2d;
   }
   
   .tab-navigation {
       background: #1a1a1a;
   }
   
   .tab-link {
       color: #b0b0b0;
   }
   
   .tab-link:hover {
       background: rgba(102, 126, 234, 0.2);
   }
   
   .tab-link.active {
       background: #2d2d2d;
       color: #667eea;
   }
}

/* ===== COMPONENT SPECIFIC FIXES ===== */
.quota-card .btn-primary:disabled {
   background: rgba(255,255,255,0.3) !important;
   color: rgba(255,255,255,0.7) !important;
   cursor: not-allowed;
}

.referral-link-input input:focus {
   border-color: #667eea;
   box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.attribution-item:last-child {
   border-bottom: none;
}

/* ===== SCROLLBAR STYLING ===== */
.tab-content-wrapper::-webkit-scrollbar {
   width: 8px;
}

.tab-content-wrapper::-webkit-scrollbar-track {
   background: #f1f1f1;
   border-radius: 4px;
}

.tab-content-wrapper::-webkit-scrollbar-thumb {
   background: #c1c1c1;
   border-radius: 4px;
}

.tab-content-wrapper::-webkit-scrollbar-thumb:hover {
   background: #a8a8a8;
}

/* ===== FINAL RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 320px) {
   .ambassador-dashboard-modern {
       padding: 10px;
   }
   
   .dashboard-header {
       padding: 20px 15px;
   }
   
   .stat-card {
       padding: 16px;
   }
   
   .tab-content-wrapper {
       padding: 20px 15px;
   }
   
   .activity-card,
   .commission-summary-card,
   .tool-card {
       padding: 16px;
   }
}

