.earning-plan-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    margin-top: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.earning-header {
    margin-bottom: 20px;
}

.earning-header h2 {
    font-size: 22px;
    margin: 0;
}

.gold-text {
    color: #d4af37;
    font-weight: 700;
}

/* Progress */
.progress-wrapper {
    margin-top: 25px;
}


.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 999px;
    transition: width .6s ease;
}

.progress-text {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* Hover effect */
.earning-plan-card:hover {
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

/* ====== Earning Plan Levels ====== */
.plan-list {
    margin-top: 40px;
}

.plan-item {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: .3s ease;
}

.plan-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

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

.plan-title {
    font-weight: 700;
    font-size: 16px;
}

.plan-percent {
    font-weight: 700;
    color: #1e7e34;
}

.plan-progress {
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.plan-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 999px;
}

.plan-turnover {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

/* ================= TABLE DESIGN ================= */

.income-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin-top: 20px;
}

.income-table thead th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    text-align: left;
    padding: 10px 16px;
}

.income-table tbody tr {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
    transition: .25s ease;
}

.income-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.income-table tbody td {
    padding: 16px;
    font-size: 14px;
    color: #374151;
}

.income-table tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.income-table tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

.income-table .text-right {
    text-align: right;
}

.income-table .positive {
    color: #16a34a;
    font-weight: 700;
}

.income-table .negative {
    color: #dc2626;
    font-weight: 700;
}

/* Section titles */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iPhone üçün smooth */
}

/* Table sıxılmasın */
.income-table {
    min-width: 700px; /* ehtiyacına görə 600–900px arası seç */
}

.results {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #86efac;
    padding: 28px;
    border-radius: 18px;
    margin-top: 25px;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.18);
    position: relative;
    overflow: hidden;
}

.results::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
}

.results p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin: 0;
    font-size: 16px;
    color: #065f46;
    border-bottom: 1px dashed rgba(6, 95, 70, 0.15);
}

.results p:last-child {
    border-bottom: none;
}

.results p strong {
    font-size: 22px;
    color: #064e3b;
}


/* ====== SADECE earning-info DIV'I İÇİN ÖZEL DİZAYN ====== */
.earning-info {
}

.earning-info::before {
    content: "Hazırkı statusunuz";
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: -0.5px;
}

.earning-info::after {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 10px 0 25px 0;
    display: block;
    padding-left: 5px;
}


.info-row > div:not(.current-progress-list) {
    font-size: 22px;
    font-weight: 700;
    color: #e74c3c;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.info-row h3 {
    display: none; /* Resimde görünmüyor, gizliyoruz */
}

.current-progress-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2'şerli grid */
    gap: 25px; /* Aralıkları biraz artırdım */
}

.current-progress-list li {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.current-progress-list li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.current-progress-list li strong {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-right: 5px;
    display: block;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #3498db;
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.05), transparent);
    border-radius: 0 8px 8px 0;
}

.current-progress-list li > div:not(.small-progress-bar) {
    color: #555;
    font-size: 16px;
    margin: 12px 0;
    line-height: 1.6;
    padding-left: 16px;
    flex-grow: 1;
}

.current-progress-list li > div:not(.small-progress-bar) br {
    display: block;
    content: "";
    margin-bottom: 8px;
}

.small-progress-bar {
    background: linear-gradient(135deg, #ecf0f1, #dfe6e9) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    margin-top: 20px !important;
    height: 14px !important;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.12);
    position: relative;
}

.small-progress-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.small-progress-bar > div {
    height: 100% !important;
    border-radius: 12px !important;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative;
    overflow: hidden;
}

.small-progress-bar > div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.15) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Progress bar renk güncellemeleri */
.small-progress-bar > div[style*="background: #4caf50"] {
    background: linear-gradient(90deg, #2ecc71, #27ae60, #2ecc71) !important;
    background-size: 200% 100% !important;
    animation: gradientFlow 3s ease infinite !important;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.small-progress-bar > div[style*="background: #f44336"] {
    background: linear-gradient(90deg, #e74c3c, #c0392b, #e74c3c) !important;
    background-size: 200% 100% !important;
    animation: gradientFlow 3s ease infinite !important;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.text-success {
    color: #27ae60 !important;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(39, 174, 96, 0.12);
    border-radius: 25px;
    margin-top: 20px;
    border: 2px solid rgba(39, 174, 96, 0.3);
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.text-success::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    background: #27ae60;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.5);
}

.text-danger {
    color: #e74c3c !important;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.12);
    border-radius: 25px;
    margin-top: 20px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

.text-danger::before {
    content: "✗";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    background: #e74c3c;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.5);
}

/* Not bölümü için stiller */
.earning-info::after + .info-notice {
    content: "";
    display: block;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px dashed #ddd;
}

.info-notice {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
    padding: 22px;
    background: linear-gradient(135deg, #fcfcfc, #f5f5f5);
    border-radius: 15px;
    border-left: 6px solid #f39c12;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    grid-column: span 2; /* 2 kolon genişliğinde */
}

.info-notice strong {
    color: #e74c3c;
    font-weight: 700;
}

/* Mobil uyumluluk */
@media (max-width: 992px) {
    .current-progress-list {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 20px;
    }

    .info-notice {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .earning-info {
        padding: 20px;
        gap: 20px;
    }

    .current-progress-list li {
        padding: 22px 18px;
    }

    .earning-info::before {
        font-size: 24px;
    }

    .earning-info::after {
        font-size: 20px;
    }

    .current-progress-list li strong {
        font-size: 16px;
    }

    .current-progress-list li > div:not(.small-progress-bar) {
        font-size: 15px;
    }
}

/* Tablet boyutu */
@media (max-width: 1024px) and (min-width: 993px) {
    .current-progress-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== PROGRESS WRAPPER DİZAYNI ====== */
.progress-wrapper {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Maksimum seviye için farklı stil */
.progress-wrapper .progress-text.gold-text {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.05);
    border: 2px solid #f3f4f6;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.progress-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg,
    #3b82f6 0%,
    #8b5cf6 25%,
    #ec4899 50%,
    #f59e0b 75%,
    #10b981 100%);
    background-size: 300% 100%;
    animation: gradientFlow 4s ease infinite;
    position: relative;
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4),
    inset 0 2px 8px rgba(255, 255, 255, 0.4);
}

.progress-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 100%);
    animation: shimmer 2.5s infinite;
    border-radius: 50px;
}

/* Yüzde göstergesi */
.progress-fill::after {
    content: attr(data-percent);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.6;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border-left: 6px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
    position: relative;
}

.progress-text strong {
    color: #1e40af;
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: rgba(59, 130, 246, 0.1);
    display: inline-block;
    margin: 0 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Maksimum seviye mesajı */
.progress-text.gold-text {
    font-size: 20px;
    font-weight: 700;
    color: #d4af37;
    background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.05));
    border-left: 6px solid #d4af37;
    text-align: center;
    padding: 25px;
}

.progress-text.gold-text::before {
    content: "🏆";
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Bilgi ikonları */
.progress-wrapper .info-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: help;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* İlerleme yüzdesi için etiket */
.percent-label {
    position: absolute;
    top: -35px;
    right: 0;
    background: #3b82f6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .progress-wrapper {
        padding: 20px;
        margin-top: 30px;
    }

    .progress-bar {
        height: 20px;
    }

    .progress-text {
        font-size: 15px;
        padding: 16px;
    }

    .progress-text strong {
        font-size: 18px;
    }

    .progress-text.gold-text {
        font-size: 18px;
        padding: 20px;
    }
}

.plan-progress-container {
    position: relative;
    margin: 20px 0 30px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 0 5px;
}

.slider-label {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.slider-label:hover {
    background: #f0f0f0;
    color: #333;
    transform: translateY(-2px);
}

.plan-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
}

.plan-progress {
    position: relative;
    height: 20px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
}

.plan-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    transition: width 0.3s ease;
    border-radius: 5px;
}

/* Seçilmiş level info styles */
.selected-level-info {
    background: #fff8e1;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ffd54f;
}

.selected-level-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd54f;
}

.selected-level-header h4 {
    margin: 0;
    color: #e65100;
    font-size: 18px;
}

.selected-level-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #e65100;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #bf360c;
}

/* Real qazanc məlumatı styles */
.real-earning-info {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #b3d7ff;
}

.earning-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #b3d7ff;
}

.earning-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.earning-label {
    font-size: 14px;
    color: #0066cc;
    font-weight: 600;
}

.earning-value {
    font-size: 16px;
    font-weight: bold;
    color: #004080;
}

/* Badge styles */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    display: inline-block;
}

.badge-gold {
    background-color: #ffd700;
    color: #333;
}

.badge-silver {
    background-color: #c0c0c0;
    color: #333;
}

.badge-bronze {
    background-color: #cd7f32;
    color: #fff;
}

.badge-new-user {
    background-color: #4CAF50;
    color: white;
}

.plan-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

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

.plan-percent {
    font-size: 24px;
    font-weight: bold;
    color: #ff9900;
}

.level-0-info {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #4CAF50;
}

.level-0-info p {
    margin: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.level-0-info i {
    margin-right: 8px;
    width: 20px;
    color: #4CAF50;
}

.level-0-info strong {
    color: #2e7d32;
    margin-left: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .plan-title {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .badge {
        margin-left: 0;
        margin-top: 5px;
    }

    .plan-percent {
        font-size: 20px;
    }

    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .selected-level-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .earning-value {
        font-size: 14px;
    }

    .detail-value {
        font-size: 14px;
    }

    .level-0-info p {
        font-size: 13px;
    }
}

.plan-progress {
    position: relative;
    height: 10px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: visible;
}

.plan-progress-fill {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff9800);
    border-radius: 6px;
}

/* RADIO düymə */
.radio-handle {
    position: absolute;
    right: -12px;
    top: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    border: 4px solid #ff9800;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    cursor: grab;
    transition: 0.2s ease;
}

/* Hover effekti */
.radio-handle:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 12px rgba(255, 153, 0, 0.8);
}

/* Maus basanda */
.radio-handle:active {
    cursor: grabbing;
    box-shadow: 0 0 18px rgba(255, 153, 0, 1);
}

/* ====== CUSTOM SELECT STYLES ====== */
.filter-wrapper {
    max-width: 400px;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.select-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.select-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.select-header:hover::before {
    opacity: 1;
}

.select-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.select-header.active {
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.selected-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.select-header.active .select-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
}

.select-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
    overflow: auto;
}

.select-search {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 2;
}

.select-search input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

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

.select-options {
    padding: 10px 0;
}

.select-option {
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.select-option:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
    border-left-color: #667eea;
    transform: translateX(5px);
}

.select-option.selected {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
    border-left-color: #764ba2;
}

.option-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.option-level {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.option-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.option-badge.current {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.option-badge.popular {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

/* Table updates */
.percent-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.no-data {
    padding: 40px 20px !important;
    text-align: center;
}

.no-data-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-data p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Scrollbar styling */
.select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4195);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-wrapper {
        max-width: 100%;
    }

    .select-header {
        padding: 14px 16px;
        font-size: 15px;
    }

    .option-text {
        font-size: 14px;
    }

    .percent-badge {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 50px;
    }
}

.progress-bar.bg-gradient {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.next-rank-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f7;
}

.remaining-amount-card {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.remaining-amount-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.benefit-item {
    transition: all 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background-color: #e9ecef !important;
}

.progress {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.max-rank-alert {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.max-rank-alert:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-100px, -100px) rotate(360deg);
    }
}

