.box-player {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 0.75rem;
            padding: 1rem;
            border: 1px solid #dee2e6;
        }
        

.audio-player2 {
            display: flex;
            align-items: center;
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 12px 16px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            max-width: 100%;
        }

        .play-button {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: #dbdfe4;
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .play-button:hover {
            background: #c0c6cd;
            transform: scale(1.05);
        }

        .play-button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(193, 193, 193, 0.25);
        }

        .progress-container {
            flex: 1;
            margin-right: 12px;
        }

        .progress-bar-wrapper {
            height: 6px;
            background: #e9ecef;
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            margin-bottom: 4px;
        }

        .progress-bar-fill {
            height: 100%;
            background: #007bff;
            border-radius: 3px;
            width: 0%;
            transition: width 0.1s ease;
        }

        .time-display {
            font-size: 12px;
            color: #6c757d;
            display: flex;
            justify-content: space-between;
        }

        .demo-card {
            max-width: 400px;
            margin: 0 auto 2rem;
        }

        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        /* Базовые стили для audio-player */
        .audio-player {
            display: flex;
            align-items: center;
        }

        /* Горизонтальный плеер - кнопка слева, прогресс справа */
        .audio-player-horizontal {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            padding: 4px 0; /* Отступы сверху и снизу чтобы не обрезалось */
        }

        .audio-player-horizontal .play-button {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: #dbdfe4;
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
            margin: 0;
        }

        .audio-player-horizontal .play-button:hover {
            background: #c0c6cd;
            transform: scale(1.05);
        }
        
        /* Убираем transform при hover, если он вызывает обрезку */
        .card .audio-player-horizontal .play-button:hover {
            transform: scale(1.02); /* Меньший масштаб чтобы не обрезалось */
        }

        .audio-player-horizontal .play-button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(193, 193, 193, 0.25);
        }

        .audio-player-horizontal .progress-container {
            flex: 1;
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
        }

        .audio-player-horizontal .progress-bar-wrapper {
            height: 6px;
            background: #e9ecef;
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            margin-bottom: 4px;
        }

        .audio-player-horizontal .progress-bar-fill {
            height: 100%;
            background: #007bff;
            border-radius: 3px;
            width: 0%;
            transition: width 0.1s ease;
        }

        .audio-player-horizontal .time-display {
            font-size: 12px;
            color: #6c757d;
            display: flex;
            justify-content: space-between;
        }