/* Világító plexi hangfelvétellel — a hangrögzítő (a plexi tervezőjének stílusa a music-plexi.css-ben, változatlanul).
   Az #editor-form előtag kell: a default.css az "#editor-form .item label" szabállyal minden címkét fehérre és
   115 px szélesre állít, és ez a fájlfeltöltő gombot (label) is elérné. */

.voice-plexi-view #editor-form .voice-item {
    align-items: flex-start !important;
}

.voice-plexi-view #editor-form .voice-item > label {
    padding-top: 6px;
}

.voice-plexi-view #editor-form .voice-recorder {
    width: 365px;
    max-width: 100%;
}

.voice-plexi-view #editor-form .voice-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.voice-plexi-view #editor-form .voice-button {
    flex: 1 1 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    max-width: none;
    min-height: 38px;
    margin: 0;
    padding: 4px 10px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .3px;
    white-space: nowrap;
    cursor: pointer;
}

.voice-plexi-view #editor-form .voice-button i {
    font-size: 15px;
}

.voice-plexi-view #editor-form .voice-record i {
    color: #e5252a;
}

.voice-plexi-view #editor-form .voice-button:not(:disabled):not(.is-disabled):hover {
    background: #f1f1f1;
}

.voice-plexi-view #editor-form .voice-stop,
.voice-plexi-view #editor-form .voice-stop:not(:disabled):hover {
    background: #e5252a;
    color: #fff;
    animation: voice-pulse 1.2s ease-in-out infinite;
}

.voice-plexi-view #editor-form .voice-stop i {
    color: #fff;
}

.voice-plexi-view #editor-form .voice-button:disabled,
.voice-plexi-view #editor-form .voice-button.is-disabled {
    opacity: .55;
    cursor: default;
}

.voice-plexi-view #editor-form .voice-timer {
    flex: 0 0 auto;
    min-width: 84px;
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.voice-plexi-view #editor-form .voice-or {
    flex: 0 0 auto;
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
}

.voice-plexi-view #editor-form .voice-recorder.is-recording .voice-or,
.voice-plexi-view #editor-form .voice-recorder.is-recording .voice-upload {
    display: none !important;
}

.voice-plexi-view #editor-form .voice-status {
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .92);
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.voice-plexi-view #editor-form .voice-status.is-error {
    background: #fff;
    color: #c4161c;
    font-weight: 600;
}

.voice-plexi-view #editor-form .voice-result {
    margin-top: 8px;
}

.voice-plexi-view #editor-form .voice-result-info,
.voice-plexi-view #editor-form .voice-result-info span {
    margin-bottom: 4px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.voice-plexi-view #editor-form .voice-playback {
    display: block;
    width: 100%;
    height: 40px;
}

/* Keskeny kijelzőn a két gomb egymás alatt, köztük középen a "vagy" */
@media (max-width: 420px) {
    .voice-plexi-view #editor-form .voice-button {
        flex-basis: 100%;
    }

    .voice-plexi-view #editor-form .voice-or {
        flex-basis: 100%;
        line-height: 1;
        text-align: center;
    }

    .voice-plexi-view #editor-form .voice-recorder.is-recording .voice-stop {
        flex: 1 1 0;
    }
}

@keyframes voice-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 37, 42, .55); }
    50% { box-shadow: 0 0 0 6px rgba(229, 37, 42, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .voice-plexi-view #editor-form .voice-stop {
        animation: none;
    }
}
