/* =====================================================
   VOOOZER Player — Neumorphic Clean Reskin
   Complete CSS for production HTML structure
   ===================================================== */

/* Reset — scoped to player only (global * breaks AdminLTE sidebar) */
.player-vooozer, .player-vooozer * { padding: 0; margin: 0; box-sizing: border-box; }

/* Player container styles (NOT body — body rules leak into sidebar/menu) */
.player-vooozer {
    background-color: transparent;
    position: relative;
    color: #fff !important;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    overflow: hidden;
}

.player-vooozer .wrapper { border-radius: 10px; }

/* =====================================================
   Player Container
   ===================================================== */

.player-vooozer {
    position: relative;
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
    padding: 0 15px 0 22px;
    border-radius: 10px;
    overflow: hidden;
    /* background-color & background-image set via inline <style> */
}

/* =====================================================
   Controls (left side)
   ===================================================== */

.player-left {
    display: flex;
    align-items: center;
    margin-right: 22px;
    flex-shrink: 0;
}

.controles {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Reset Bootstrap .btn — scoped to player only */
.player-vooozer .btn {
    border: none;
    padding: 0;
    margin: 0;
    line-height: normal;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    color: inherit;
}

.player-vooozer .btn:not(.btn-play) {
    background-color: transparent !important;
}

.player-vooozer .btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.player-vooozer .btn:focus:not(:active) i {
    color: #fff6ea !important;
}

/* Back/Forward buttons */
.btn-rotate-left,
.btn-rotate-right {
    float: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: inherit;
    margin: 0;
    transition: opacity 0.2s ease;
}

.btn-rotate-left:hover,
.btn-rotate-right:hover {
    opacity: 0.8;
}

.btn-rotate-left:active,
.btn-rotate-right:active {
    background-color: transparent !important;
}

/* Override FA stack sizing — scoped to player */
.player-vooozer .fa-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    line-height: normal;
}

.player-vooozer .fa-stack-2x {
    font-size: inherit;
    position: static;
}

.player-vooozer .fa-lg {
    font-size: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

#fa-back30 {
    font-size: 20px;
    color: #fff6ea;
}

#fa-foward30 {
    font-size: 20px;
    color: #fff6ea;
    transform: scaleX(-1);
}

/* --- Play Button (neumorphic circle) --- */
.btn-play {
    float: none;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 25px;
    border: solid 1px transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s ease;
    font-size: inherit;
    margin: 0;
    padding: 0;
    /* background-color, box-shadow & border-color set via inline <style> */
}

.btn-play:active {
    transform: scale(0.95);
}

.btn-play i {
    font-size: 24px;
    color: #fff6ea;
    margin: 0 0 0 3px;
    line-height: 1;
}

.btn-play i.fa-pause {
    margin-left: 0;
}

.btn-play .fa-spinner {
    font-size: 21px;
    margin: 0 !important;
}

/* Replay button */
.btn-replay {
    background: none !important;
    border: none;
    cursor: pointer;
}

.btn-replay i {
    transform: rotate(130deg);
    display: inline-block;
}

/* =====================================================
   Progress Area (right side)
   ===================================================== */

.player-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    position: relative;
    height: 83px;
}

.player-center h1.hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* .center: CSS Grid — 3 rows: [time/speed] [bar+download+logo] */
.center {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* Time (row 1, col 1) */
.tempo-player-responsive {
    grid-row: 1;
    grid-column: 1;
    margin: 0;
}

.tempo-player-responsive h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

/* Speed (row 1, col 2, right-aligned) */
.btn-compartilhar-responsive {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    position: static;
    display: flex;
    align-items: center;
    padding: 0;
    height: auto;
    font-size: inherit;
    cursor: pointer;
    z-index: 99;
}

.btn-compartilhar-responsive::before {
    display: none;
}

.btn-compartilhar-responsive h2 {
    font-weight: 300;
    font-size: 20px;
    line-height: 22px;
    margin: 0;
    color: #fff;
}

/* clearfix — hidden in grid layout */
.center > .clearfix {
    display: none;
}

.player-vooozer .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* =====================================================
   Progress Bar Area (rows 2+3 of grid)
   ===================================================== */

.barra-download {
    grid-row: 2 / 4;
    grid-column: 1 / -1;
    align-self: stretch;
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    padding-bottom: 8px;
}

/* Track */
.barra-progresso {
    position: relative;
    height: 5px;
    min-height: 5px;
    border-radius: 10px;
    flex-shrink: 0;
    flex-basis: 100%;
    /* box-shadow set via inline <style> with derived inset colors */
}

.fixedBar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: transparent;
    z-index: 1;
    border-radius: 10px;
}

.bufferBar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background-color: transparent;
    z-index: 2;
    width: 0%;
    border-radius: 10px;
}

.progressBar {
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    z-index: 3;
    border-radius: 10px;
    transition: width 0.3s linear;
    /* background-color & gradient set via inline <style> */
}

@keyframes posroll-fill {
    from { width: 0%; }
    to   { width: 100%; }
}

.progressBar.posroll-smooth {
    animation: posroll-fill 2.5s linear forwards;
}

/* Download + Logo row */
.download-narrativa {
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.btn-download {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    margin: 0;
    max-height: none;
}

.logo-vooozer-responsive {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1;
    margin: 0;
    width: auto;
}

.logo-vooozer-responsive small {
    font-size: 11px;
    opacity: 1;
}

a.VooozerLogo,
img.VooozerLogo {
    vertical-align: middle;
    opacity: 1;
}

.logo-vooozer-responsive-posplay {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

/* =====================================================
   Global Icon Color
   ===================================================== */

.player-vooozer i {
    color: #fff6ea;
    font-weight: 600;
    font-size: 20px;
}

/* =====================================================
   Lead Capture
   ===================================================== */

.leadCaptureWindow {
    display: none;
    top: 0; left: 0;
    width: 100%; height: 83px;
    position: absolute;
    z-index: 99999;
    overflow: hidden;
    border-radius: 10px;
}

.leadCaptureOpaque {
    top: 0; left: 0;
    width: 100%; height: 83px;
    position: absolute;
    opacity: 0.9;
    border-radius: 10px;
}

.leadCaptureSolid {
    top: 0; left: 0;
    width: 100%; height: 83px;
    position: absolute;
    opacity: 1;
    overflow: hidden;
}

.leadCaptureFinetune {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 83px;
    padding: 6px 15px 6px;
    overflow: hidden;
}
.leadCaptureFinetune > p {
    margin: 0;
    font-weight: 600;
}

.leadCaptureMessage { font-size: 1em; white-space: nowrap; font-weight: 600; }
.leadCaptureEmailboxFinetune {
    padding-right: 2%;
    height: 32px;
    display: flex !important;
    flex-wrap: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}
.leadCaptureEmailboxFinetune .form-control {
    flex: 1;
    min-width: 0;
    width: auto !important;
}
.leadCaptureEmailboxFinetune .input-group-btn {
    display: flex !important;
    width: auto !important;
}
.leadCaptureEmailbox {
    height: 32px !important;
    outline: none !important;
    border-bottom-left-radius: 3px !important;
    border-top-left-radius: 3px !important;
    box-shadow: none !important;
    border-color: transparent !important;
}
.leadCaptureBtn.btn {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1;
    border-radius: 0 3px 3px 0 !important;
}
.leadCaptureBtn.btn b {
    font-weight: 700;
}

.leadCaptureFinetuneName { padding-left: 2%; padding-top: 2px; }
.leadCaptureFinetuneName > p { margin-bottom: 2px; }
.leadCaptureCloseName, .leadCaptureClose { color: #fff !important; right: 10px; top: 4px; position: absolute; font-size: 16px; z-index: 10; }
.leadEmailHighlighted { font-style: italic; }
#leadResetEmail, #leadResetEmail:hover { color: #DB5A0E; }
#email-error-message { color: #ff6b6b; font-size: 0.85em; }

/* =====================================================
   Logo Screen (CTA overlay)
   ===================================================== */

.text-options, .text-options a {
    text-transform: uppercase;
    font-size: 17px;
    color: white;
    text-align: center;
    padding-top: 21px;
    margin: auto;
    width: 100%;
    line-height: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
}
.text-highlight { color: #DB5A0E; }

.cta-abtest {
    margin-bottom: -4px;
    margin-top: 0;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tempo-player-responsive-ab-test {
    margin-top: -15px;
    margin-left: -17px;
    padding-right: 25px;
}

.tempo-player-responsive-ab-test h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =====================================================
   Share Icons
   ===================================================== */

.mostra-icons-responsive {
    display: none;
    background-color: white;
    position: absolute;
    top: 3px; right: 40px;
    padding: 3px 5px 0 10px;
    border-radius: 4px;
    width: 187px; height: 50px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.30);
    z-index: 100;
}

.mostra-icons-responsive::before {
    content: "";
    float: right;
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid white;
    position: absolute;
    right: -7px; top: 7px;
}

.mostra-icons-responsive a .fa-twitter-square { font-size: 1.7em; color: #55ACEE !important; }
.mostra-icons-responsive a .fa-facebook-square { font-size: 1.7em; color: #3B5998 !important; }
.mostra-icons-responsive a .fa-linkedin { font-size: 1.7em; color: #0077B5 !important; }
.mostra-icons-responsive a .fa-whatsapp { font-size: 1.7em; color: #189D0E !important; }

.btn-compartilhar-responsive:hover .mostra-icons-responsive,
.btn-compartilhar-responsive:active .mostra-icons-responsive {
    display: block;
}

/* =====================================================
   Utilities
   ===================================================== */

.player-vooozer .noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.player-vooozer .hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.player-vooozer .disabled, .player-vooozer [disabled] {
    opacity: 0.3 !important;
    pointer-events: none;
}

.player-vooozer a:active, .player-vooozer a:focus, .player-vooozer a:hover {
    color: #F26522 !important;
    text-decoration: none;
}

/* =====================================================
   Responsive
   ===================================================== */

@media only screen and (max-width: 480px) {
    .player-vooozer { padding: 0 10px 0 14px; }
    .player-left { margin-right: 14px; }
    .controles { gap: 6px; }
    .btn-play { width: 42px; height: 42px; min-width: 42px; min-height: 42px; border-radius: 21px; }
    .btn-play i { font-size: 20px; }
    #fa-back30, #fa-foward30 { font-size: 17px; }
    .tempo-player-responsive h2 { font-size: 17px; }
    .btn-compartilhar-responsive h2 { font-size: 17px; }
    .logo-vooozer-responsive small { font-size: 10px; }
}

@media only screen and (max-width: 320px) {
    .player-vooozer { padding: 0 8px 0 10px; }
    .player-left { margin-right: 10px; }
    .controles { gap: 4px; }
    .btn-play { width: 38px; height: 38px; min-width: 38px; min-height: 38px; border-radius: 19px; }
    .btn-play i { font-size: 18px; }
    #fa-back30, #fa-foward30 { font-size: 15px; }
    .tempo-player-responsive h2 { font-size: 15px; }
    .btn-compartilhar-responsive h2 { font-size: 15px; }
}
