@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
    --primary-color: #DFA300;
    --bg-dark: #0A0A0A;
    --gradient: linear-gradient(135deg, rgba(223, 163, 0, 0.1) 0%, rgba(223, 163, 0, 0.02) 100%);
}

html, body {
    background: #0A0A0A;
    color: #fff;
    scroll-behavior: smooth;
    scroll-padding-top: 117px; 
}


.timeline-container {
    overflow-y: auto; /* Garante que o scrollbar apareça */
    scrollbar-width: thin; /* Define a largura do scrollbar */
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.2); /* Cor do thumb e track */
}

.timeline-container::-webkit-scrollbar {
    height: 8px !important;
    width: 8px !important; /* Para scroll vertical */
}
.timeline-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px;
}
.timeline-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px;
}
.timeline-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}


.icon-btn {
    display: flex !important;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: black !important;
    border: none;
    font-size: 16px;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
}


.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    background: transparent;
}


/* Adicionar novos estilos para o seletor de fundos */
.background-selector {
    margin-top: 24px;
    background: #141414;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.background-selector h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.background-grid {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.background-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.background-thumbnail.active {
    border-color: var(--primary-color);
}

.background-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-thumbnail {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    width: 50px;
    height: 50px;
}


/* Estilizar a scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #141414;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3B3B3B;
}

.timeline-preview-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0.5;
}

.timeline-thumbnail {
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-grow: 1;
}

.timeline-marker {
    position: absolute;
    background: rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(4px);
    border: 2px solid var(--primary-color);
    height: 100%;
    top: 0;
    border-radius: 8px;
    cursor: move;
    user-select: none;
    min-width: 50px;
    z-index: 2;
}

.marker-handle {
    width: 8px;
    height: 100%;
    position: absolute;
    cursor: ew-resize;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.marker-handle:hover {
    background: rgba(255, 255, 255, 0.5);
}


.time-indicator {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 3;
    pointer-events: all;
    cursor: ew-resize;
}

#cut-video-btn {
    cursor: pointer;
}


.video-block.selected {
    border: 2px solid white;
    border-right-color: white !important;
}

.channel-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.video-block {
    position: absolute;
    height: 100%;
    background: #4d2ef49e;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border-radius: 5px;
}

.video-block:not(:last-child) {
    border-right: 2px solid #141414;
}

.timeline-marker {
    position: absolute;
    height: 100%;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    pointer-events: none;
}

.zoom-instruction {
    background: #1E1E1E;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    margin-top: 24px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
}

.zoom-instruction h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.zoom-instruction p {
    color: #999;
    margin-bottom: 16px;
    line-height: 1.5;
}

.zoom-instruction .key-hint {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    margin-top: 8px;
    backdrop-filter: blur(4px);
}

.video-container.zoom-mode {
    cursor: crosshair;
    position: relative;
    z-index: 1;
}




.speed-controls {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.speed-controls input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
}

.speed-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px; /* Aumentei o tamanho da bolinha de 16px para 24px */
    height: 24px; /* Aumentei o tamanho da bolinha de 16px para 24px */
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.speed-value {
    min-width: 48px;
    text-align: right;
    color: #999;
}

/* Estilos para os controles de range */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px; /* Reduzi a altura de 8px para 4px para deixar mais fino */
    background: #3B3B3B;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s ease;
}

/* Novo estilo para colorir a parte do range que já passou */
input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(to right,
    var(--primary-color) 0%,
    var(--primary-color) var(--range-progress),
    #3B3B3B var(--range-progress),
    #3B3B3B 100%
    );
    height: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: -10px; /* Ajusta a posição vertical da bolinha */
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -10px; /* Ajuste para Firefox */
}

/* Para navegadores Mozilla */
input[type="range"]::-moz-range-track {
    background: linear-gradient(to right,
    var(--primary-color) 0%,
    var(--primary-color) var(--range-progress),
    #3B3B3B var(--range-progress),
    #3B3B3B 100%
    );
    height: 4px;
}

.keyframe-item {
    padding: 16px;
    background: #2A2A2A;
    border-radius: 12px;
    border: 1px solid #3B3B3B;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.keyframe-item:hover {
    border-color: #4B4B4B;
    transform: translateY(-1px);
}

.zoom-controls, .speed-controls, .duration-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zoom-controls span, .speed-controls span, .duration-controls label {
    font-weight: 500;
}

.scale-value, .speed-value {
    color: #999;
    font-size: 14px;
}

.duration-controls div {
    padding: 12px 0;
}


.preview-panel {
    flex: 2.5;
    display: flex;
    flex-direction: column;
}

.timeline-panel {
    flex: 1;
    background: #101010;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: auto;
    border-radius: 15px;
}

.timeline-panel h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.video-container {
    position: relative;
    cursor: crosshair;
    background: #000;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    mask-image: -webkit-radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    z-index: 1;
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#videoPreview {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    transform-origin: center center;
    border-radius: 10px;
    object-fit: cover;
    object-position: top;
    mask-image: -webkit-radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.timeline-container {
    position: relative;
}

.waveform-container {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top: 35px;
}



.timeline {
    position: relative;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-scale {
    position: absolute;
    top: -20px;
}

.timeline-channel {
    position: relative;
    height: 50px;
    margin-bottom: 5px;
    margin-top: 35px;
}

.video-channel {
    border-radius: 8px;
    border: 2px solid #4d2ef4;
}

.video-channel .marker-handle {
    background: #4d2ef4;
}

.video-channel, .effects-channel {
    margin-left: 0;
}

.effects-channel {
    margin-top: 5px;
}

.channel-label {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.time-indicator {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 10;
    pointer-events: all;
    cursor: ew-resize;
}

.time-indicator::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -4px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.timeline-marker {
    position: absolute;
    background: rgba(37, 99, 235, 0.3);
    border: 2px solid var(--primary-color);
    height: 100%;
    top: 0;
    cursor: move;
    user-select: none;
    min-width: 50px;
    z-index: 2;
    transition: all 0.2s ease;
}

.timeline-marker.zoom-marker {
    background: rgba(223, 163, 0, 0.5);
    border-color: var(--primary-color);
}

.timeline-marker.cut-marker {
    background: rgba(220, 38, 38, 0.3);
    border-color: #DC2626;
}

.marker-label {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    white-space: nowrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
    max-width: 90%;
}

.zoom-marker .marker-label {
    background: rgba(223, 163, 0, 0.5);
}

.marker-handle {
    width: 8px;
    height: 100%;
    position: absolute;
    cursor: ew-resize;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.marker-handle.left {
    left: 0;
}

.marker-handle.right {
    right: 0;
}

.marker-handle:hover {
    background: rgba(255, 255, 255, 0.5);
}

.zoom-marker .marker-handle {
    background: rgba(223, 163, 0, 0.5);
}

.zoom-marker .marker-handle:hover {
    background: rgba(223, 163, 0, 0.5);
}

.cut-marker .marker-handle {
    background: rgba(220, 38, 38, 0.3);
}

.cut-marker .marker-handle:hover {
    background: rgba(220, 38, 38, 0.5);
}

.time-input {
    width: 70px;
    padding: 8px;
    background: #1E1E1E;
    border: 1px solid #2A2A2A;
    color: white;
    border-radius: 8px;
    font-size: 14px;
}

.time-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.tall-btn {
    height: 50px;
}



.reset-password-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.reset-password-card {
    background: #141414;
    padding: 32px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.reset-password-card h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.reset-password-card .subtitle {
    color: #666;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.password-input {
    width: 100%;
    padding: 12px;
    background: #1E1E1E;
    border: 1px solid #2A2A2A;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
}

.password-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.reset-button {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: #1b1b1b;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.reset-button:hover {
    background: #a37a01;
    transform: translateY(-1px);
}

.error-message {
    color: #F0434B;
    font-size: 14px;
    margin-bottom: 16px;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #fff;
}

.password-toggle i {
    font-size: 16px;
}

/* Adjust password input padding to accommodate the toggle button */
.password-field .password-input {
    padding-right: 40px;
}

.login-button {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.login-button:hover {
    transform: translateY(-1px);
}

.back-button-container {
    margin-top: 16px;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #666;
    border-radius: 12px;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.back-button:hover {
    border-color: #999;
    color: #999;
    transform: translateY(-1px);
}

/*PRICING*/

.coming-soon {
    font-size: 11px;
    background: #2b2b2b;
    padding: 6px;
    border-radius: 15px
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.pricing-column {
    background: #121212;
    border-radius: 16px;
    padding: 50px;
    /* text-align: center; */
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-column.featured {
    background: #1A1A1A;
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #1b1b1b;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-column h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.price-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.pricing-column ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.pricing-column li {
    padding: 12px 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-included i {
    color: #e8e8e8;
    background: #2b2b2b;
    padding: 5px;
    border-radius: 100%;
    font-size: 12px;
}

.feature-excluded {
    color: #666 !important;
}

.feature-excluded i {
    color: #666;       
    margin : 5px;
}

.month {
    font-size: 14px;
    font-weight: normal;
    color: grey;
}

.button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px !important;
    color: #1b1b1b;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.button:hover, button:not(.password-toggle):hover {
    transform: translateY(-1px);
}

@media screen and (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }

    .timeline-panel {
        order: 1;
    }

    .preview-panel {
        order: 2;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

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

.relative {
    position: relative;
}

.not-just {
    position: absolute;
    font-family: "Handlee", serif;
    font-weight: 100;
    font-style: normal;
    font-size: 20px;
    top: 65px;
    width: 100%;
    right: -65px;
    transform: rotateZ(-5deg);
    color: rgb(193 193 193 / 80%);
}

@media screen and (max-width: 768px) {
    .not-just {
        font-size: 16px;
        top: 32px;
        width: 145px;
        right: -45px;
    }

    .mobile-hidden {
        display: none !important;
     }
}


.real-price {
    font-size: 17px;
    text-decoration: line-through;
    color: grey;
    font-weight: normal;
  }


  .savings {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    color: grey;
  }


  .discount {
    font-weight: 600;
  }

  .discount i {
    color: #6adf00;
    margin-right: 3px;
    animation: blink 3s infinite;
  }
  
  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }

 .discount span {
    color: #6adf00;
  }


#webcamContainer {
    cursor: pointer !important;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;  /* Largura menor */
    height: 25px;  /* Altura menor */
    cursor: pointer;
}
  
.toggle-switch input[type="checkbox"] {
    display: none;
}
  
.toggle-switch-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    border-radius: 12.5px;  /* Ajuste proporcional */
    box-shadow: inset 0 0 0 2px #ccc;
    transition: background-color 0.3s ease-in-out;
}
  
.toggle-switch-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;  /* Menor */
    height: 19px;  /* Menor */
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}
  
.toggle-switch::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -25px;
    font-size: 10px;
    font-weight: bold;
    color: #aaa;
    text-shadow: 1px 1px #fff;
    transition: color 0.3s ease-in-out;
}
  
.toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle {
    transform: translateX(25px);  /* Ajustado para nova largura */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 2px #05c46b;
}
  
.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background {
    background-color: #05c46b;
    box-shadow: inset 0 0 0 2px #04b360;
}
  
.toggle-switch input[type="checkbox"]:checked + .toggle-switch:before {
    content: "On";
    color: #05c46b;
    right: -10px;
}
  
.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background .toggle-switch-handle {
    transform: translateX(22px);  /* Movimentação ajustada */
}

  .cents {
    font-size: 17px;
    position: absolute;
    top: 6px;
    right: -13px;
    font-weight: 200;
  }

  .price-discount {
    position: relative;
  }

  .gradient-preview {
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }
