/* VIP Level Widget Styles */

.vip-level-widget-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.vip-level-widget-progress-footer {
    margin-top: 8px;
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    transition: opacity 0.2s ease, transform 0.1s ease;
    border: none;
    text-transform: uppercase;
}

.vip-level-widget-progress-footer:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.vip-level-widget-progress-footer:active {
    transform: translateY(0);
    opacity: 1;
}

.vip-level-widget-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

.vip-level-widget-badge {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 16px;
    border: 1px solid #555;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-align: center;
}

.vip-level-widget-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 4px;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vip-level-widget-title {
    font-size: 10px;
    line-height: 1.1;
    font-weight: bold;
}

.vip-level-widget-deposit-info {
    flex: 1;
    color: white;
}

.vip-level-widget-current-deposit {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.vip-level-widget-currency-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.vip-level-widget-deposit-amount {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vip-level-widget-next-rank-info {
    font-size: 11px;
    color: #ccc;
    line-height: 1.2;
}

.vip-level-widget-next-rank-amount {
    color: #ffd700;
    font-weight: 600;
}

.vip-level-widget-loading-state {
    color: #999;
    font-style: italic;
}

.vip-level-widget-error-state {
    color: #ff6b6b;
    font-size: 12px;
}

.vip-level-widget-progress-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.vip-level-widget-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .vip-level-widget-container {
        max-width: 100%;
        padding: 10px 12px;
    }
    
    .vip-level-widget-badge {
        padding: 8px 12px;
        font-size: 10px;
        margin-right: 12px;
        min-width: 70px;
    }

    .vip-level-widget-image {
        width: 48px;
        height: 48px;
        margin-bottom: 3px;
    }

    .vip-level-widget-title {
        font-size: 9px;
    }
    
    .vip-level-widget-deposit-amount {
        font-size: 14px;
    }
    
    .vip-level-widget-currency-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
}