


/* Карточка с прогресс-баром */
        .card-progresbar {
            margin-bottom: 25px;
           background: #F5F5F5;
            border-radius: 8px;
            padding: 15px;
            /* max-width: 550px; */
            width: 100%;
            /* box-shadow: 0 20px 60px rgba(0,0,0,0.3); */
        }

        .title {
            font-size: 24px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .subtitle {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 28px;
            border-left: 3px solid #667eea;
            padding-left: 12px;
        }

        /* Блок с целевой суммой */
        .target-info {
            font-weight: 600;
          gap: 5px;
    font-size: 15px;
    display: flex;
    align-content: flex-end;
    justify-content: flex-start;
    text-align: center;
        } 

        .target-label {
            font-size: 14px;
            text-transform: uppercase;
        }

         .target-amount {
           font-size: 14px;
        }  

        .target-amount small {
            font-size: 14px; 
        }

        .progres_bar__link{
            text-decoration: underline;
            font-size: 12px;
            text-transform: uppercase;
        }
        
        .progress-section {
           margin: 15px 0px 10px;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .current-sum {
            color: #F23300;
            font-size: 12px;
        }

        .remain-sum {
            text-transform: uppercase;
            color: #F23300;
            font-size: 12px; 
        }

        .progress-bar-container {
            background-color: #e5e7eb;
            border-radius: 999px;
            height: 4px;
            overflow: hidden;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        }

        .progress-bar-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #f5935b, #F23300);
            border-radius: 999px;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 12px;
            color: white;
            font-size: 12px;
            font-weight: bold;
            position: relative;
            overflow: hidden;
        }

        /* Анимация shimmer */
        .progress-bar-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.3) 50%, 
                rgba(255,255,255,0) 100%);
            animation: shimmer 1.5s infinite;
            transform: translateX(-100%);
        }

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

        .percentage {
            text-align: center;
            margin-top: 12px;
            font-size: 14px;
            font-weight: 600;
            color: #4b5563;
        }

       
        /* Сообщение о достижении цели */
        .success-message {
            background: #10b981;
            color: white;
            padding: 12px;
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
            margin-top: 16px;
            animation: pulse 0.5s ease;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .note {
            margin-top: 20px;
            padding: 12px;
            background: #fef3c7;
            border-radius: 10px;
            font-size: 12px;
            color: #92400e;
            text-align: center;
        }


        @media (max-width: 768px) {
    #cardProgresbar {
        position: fixed;
        z-index: 9999;
        bottom: 25px;
        left: 0px;
        width: 100%;
        display: block;
        border-radius: 0px !important;
        /* Дополнительные стили для лучшего отображения */
        box-sizing: border-box;
        padding: 12px 16px;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 12px 12px 0 0;
        
        /* Анимация появления */
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}