

        .widget {
        margin:0 auto;
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            width: 100%;
            max-width: 600px;
            position: relative;
            overflow: hidden;
        }

        /* Анимация для нового доната */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(79, 172, 254, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
            }
        }

        .new-donation-pulse {
            animation: pulse 1.5s ease-out;
        }

        /* Анимация для цифр */
        @keyframes countUp {
            0% {
                transform: scale(1);
                color: #4facfe;
            }
            50% {
                transform: scale(1.2);
                color: #00f2fe;
            }
            100% {
                transform: scale(1);
                color: #333;
            }
        }

        .amount-changed {
            animation: countUp 0.5s ease-out;
        }

        /* Всплывающее уведомление */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transform: translateX(400px);
            transition: transform 0.3s ease-out;
            z-index: 1000;
            max-width: 300px;
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast-username {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .toast-amount {
            font-size: 20px;
            font-weight: bold;
            color: #ffd700;
            margin-bottom: 5px;
        }

        .toast-message {
            font-size: 14px;
            opacity: 0.9;
            word-wrap: break-word;
        }

        .header {
            text-align: center;
            margin-bottom: 25px;
        }

        .header h2 {
            color: #333;
            font-size: 24px;
            margin-bottom: 5px;
        }

        .header p {
            color: #666;
            font-size: 16px;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .stats.new-donation {
            background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
        }

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

        .stat-label {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .stat-value {
            color: #333;
            font-size: 24px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .stat-value span {
            font-size: 14px;
            color: #999;
            font-weight: normal;
        }

        .progress-container {
            margin-bottom: 20px;
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            color: #666;
            font-size: 14px;
        }

        .progress-bar-bg {
            width: 100%;
            height: 30px;
            background: #e0e0e0;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
        }

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
            border-radius: 15px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            width: 0%;
        }

        .progress-bar-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                90deg,
                rgba(255,255,255,0.1) 0%,
                rgba(255,255,255,0.3) 50%,
                rgba(255,255,255,0.1) 100%
            );
            animation: shine 2s infinite;
        }

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

        .goal-remaining {
            text-align: center;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 12px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .goal-remaining.new-donation {
            background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
        }

        .goal-remaining .amount {
            font-size: 28px;
            font-weight: bold;
            color: #4facfe;
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }

        .goal-remaining .text {
            color: #666;
            font-size: 14px;
        }

        .recent-donations {
            border-top: 1px solid #e0e0e0;
            padding-top: 20px;
        }

        .recent-donations h3 {
            color: #333;
            font-size: 16px;
            margin-bottom: 15px;
        }

        .donation-item {
            background: #f8f9fa;
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            animation: slideIn 0.3s ease-out;
            border-left: 3px solid transparent;
            transition: all 0.3s ease;
        }

        .donation-item.new {
            border-left: 3px solid #4facfe;
            background: linear-gradient(90deg, #f0f9ff 0%, #f8f9fa 100%);
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .donation-user {
            font-weight: bold;
            color: #333;
        }

        .donation-amount {
            color: #4facfe;
            font-weight: bold;
            font-size: 18px;
        }

        .donation-message {
            color: #666;
            font-size: 13px;
            margin-top: 4px;
        }

        /* Индикатор нового доната */
        .new-donation-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #ff4757;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            animation: bounce 1s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }
  
@media screen and (max-width: 773px) and (orientation: portrait){
	.widget {
		padding:0;
	}
}
