/* SLIDE PRODUCT [START] */
.slide-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* FRAGMENTS */
.fragments {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
    flex: 1 1 auto;
    width: 100%;
    max-width: 900px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    position: relative;
    border-radius: 16px;
}

.fragments__container {
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 16px;
}

.fragment {
    display: none;
}

.fragment.active {
    display: block;
}

/* TEXT RESIZER */
.text-resizer {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 60px;
    height: auto;
    padding: 10px;
    position: absolute;
    top: 0;
    right: -70px;
    border-radius: 50rem;
}

.text-resizer__btn {
    background-color: rgba(232, 81, 70, 0.1);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.text-resizer__btn:hover {
    background-color: rgba(232, 81, 70, 0.2);
}

.text-resizer__value {
    color: rgba(49, 49, 49, 0.7);
    cursor: default;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* PANEL */
.panel {
    display: none;
    width: 100%;
}

.panel.active {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

/* PANEL PRESTART */
.panel-prestart {
    justify-content: center;
    align-items: center;
}

/* PANEL START */
.panel-start {
    justify-content: space-between;
    align-items: center;
}

.panel-start_col {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 0 0%;
    min-width: 0;
}

.panel-start_col--left   { justify-content: flex-start; }
.panel-start_col--center { justify-content: center; }
.panel-start_col--right  { justify-content: flex-end; }

/* POPUP END */
.popup-end {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.popup-end__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.popup-end__icon {
    color: #4CAF50;
    display: block;
    width: 128px;
    height: 128px;
    margin-bottom: 24px;
}

.popup-end__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.popup-end__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 400px;
}

.popup-end__panel button:last-child {
    margin-top: 16px;
}

/* VISUALIZER */
.voice-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.visualizer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.bar {
    background-color: var(--color-primary);
    width: 4px;
    height: 2px;
    min-height: 2px;
    -webkit-transition: height 0.1s ease 0s;
    -moz-transition: height 0.1s ease 0s;
    transition: height 0.1s ease 0s;
    border-radius: 50rem;
}

.visualizer.mirror {
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    transform: scaleX(-1);
}

.mic-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    position: relative;
}

.mic-circle {
    background-color: rgba(232, 81, 70, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 50%;
    -webkit-transition: transform 0.1s ease 0s;
    -moz-transition: transform 0.1s ease 0s;
    transition: transform 0.1s ease 0s;
}

.mic-icon {
    color: #FFFFFF;
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 2;
}

.mic-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
/* SLIDE PRODUCT [END] */