* {
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    margin: 0;
}


html {
    background-image: url("../img/BG.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #0B090A;
    background-attachment: fixed;
}

body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    transition: 0.7s;
}

.logo {
    height: 30px;
    position: absolute;
    top: 10%;
}

#welcome {
    align-items: center !important;
    justify-content: center !important;
}

.card {
    background: radial-gradient(circle, rgb(19, 17, 19) 0%, rgba(11, 9, 10, 1) 100%);
    box-shadow: 0 7px 80px rgba(0, 0, 0, 0.9);
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    align-items: start;
    justify-self: center;
    align-self: center;
    /* Posiciona todos os cards no mesmo lugar */
    width: calc(100% - 60px);
    /* Largura do card menos o padding do container */
    padding: 45px;
    min-height: 300px;
    border-radius: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Começa ligeiramente abaixo */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    /* Animação de entrada */
}

.card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Posição final */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    /* Animação de saída imediata */
}

.card label {
    color: #ccff33b9;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.card h1 {
    background-image: linear-gradient(90deg, #ffffff5e 0%, #fff 70%);
    color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    font-size: 33px;
}

.card h2 {
    margin-top: 30px;
    background-image: linear-gradient(90deg, #ffffff5e 0%, #fff 70%);
    color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.card p {
    font-size: 15px;
    color: #C0BFC0;
    margin-bottom: 22px;
}

.card input[type="text"],
.card input[type="email"],
.card input[type="tel"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    margin-bottom: 40px;
    border-radius: 10px;
    font-size: 1em;
    border: none;
    color: #fff;
    box-sizing: border-box;
    background-color: #ffffff4b;
    transition: 0.2s;
}

.card input[type="text"]::placeholder,
.card input[type="email"]::placeholder,
.card input[type="tel"]::placeholder {
    color: #8a8a8a;
}

.card input[type="text"]:focus,
.card input[type="email"]:focus,
.card input[type="tel"]:focus {
    outline: none !important;
    background-color: #ffffff2f;
    outline-width: 0 !important;
}

.card button,
#payment-link-button {
    background-color: #CCFF33;
    color: #0B090A;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

#payment-link-button {
    margin-top: 15px !important;
}

.card button:hover,
#payment-link-button:hover {
    background-color: #86a723;
}


.noHover,
.noHover:hover {
    background-color: #CCFF33 !important;
    color: #0B090A !important;
    opacity: 0.3 !important;
    cursor: default !important;
}

.card i {
    color: #CCFF33 !important;
    font-size: 28px;
}

button .arrow {
    height: 12px;
    margin-left: 22px;
}

#payment-link-button .arrow {
    height: 20px;
    margin-left: 22px;
}

button:hover .arrow {
    color: #CCFF33;
}

.consent-checkbox-wrapper {
    display: flex;
    align-items: center;
    /* Alinha o checkbox e o texto verticalmente */
    margin-bottom: 20px;
    align-self: center;
    /* Alinha este item à esquerda do card */
}

/* Esconde o checkbox padrão do navegador */
#data-consent-checkbox {
    display: none;
}


#start-button {
    transition: 0.2s;
}

/* Cria uma caixa personalizada para o checkbox */
#data-consent-checkbox+.consent-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #CCFF33;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    /* Alinha com o texto */
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
}

/* Mostra o "check" quando o checkbox está marcado */
#data-consent-checkbox:checked+.consent-label::before {
    background-color: #CCFF33;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B090A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.consent-label {
    color: #797979 !important;
    font-size: 12px !important;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

/* Link dentro da label */
.consent-label a {
    color: #84a522;
    text-decoration: underline;
}

.progress-bar-container {
    position: absolute;
    bottom: 10%;
    /* Posiciona no topo do form-container */
    min-width: 120px;
    width: 50%;
    max-width: 500px;
    height: 6px;
    /* Altura da barra */
    background-color: #ffffff31;
    border-radius: 2px;
    overflow: hidden;
    /* opacity: ; */
    /* Garante que o preenchimento não saia dos limites */
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    /* Começa com 0% */
    background-color: #CCFF33;
    /* Cor de preenchimento (verde) */
    transition: width 0.5s ease-out;
    /* Animação suave para a largura */
    border-radius: 5px;
    /* Pode não ser visível se a largura for pequena, mas é bom ter */
}

/* Animações de saída (opcional, para uma transição mais completa) */
.card.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    /* Move ligeiramente para cima ao sair */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Adicione este CSS ao seu arquivo style.css */

.drop-zone {
    width: 100%;
    max-width: 400px;
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    border: 2px dotted #838383;
    border-radius: 10px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
    /* Garante que o padding não afete a largura total */
    margin: 0 auto 20px auto;
    /* Centraliza e adiciona margem inferior */
    margin-bottom: 30px !important;
}

.drop-zone-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CCFF33;
}

.drop-zone-icon {
    margin-bottom: 10px;
}

/* Estado quando um arquivo é arrastado sobre a área */
.drop-zone.drag-over {
    border-color: #CCFF33;
    border-width: 3px;
}

/* Esconde o prompt inicial quando um arquivo é selecionado */
.drop-zone.file-chosen .drop-zone-prompt {
    display: none;
}

/* Estilo para mostrar o nome do arquivo selecionado */
.drop-zone .file-name-display {
    font-size: 1em;
    font-weight: bold;
    color: #CCFF33;
}

/* O input real fica sempre escondido */
.drop-zone-input {
    display: none;
}

#finishingSubtitle {
    max-width: 70%;
    font-size: 13px;
    color: #7c7c7cff;
}

.fileTypeTag {
    color: #717171 !important;
    text-align: left;
    position: relative;
    bottom: 20px;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 730px) {
    html {
        background-position: right;
    }

    .logo {
        top: 7%;
        height: 25px;
    }

    .progress-bar-container {
        bottom: 7%;
    }

    #data-consent-checkbox+.consent-label::before {
        width: 14px;
        height: 14px;
    }

    .consent-label {
        font-size: 10px !important;
    }

    .card {
        padding: 35px 20px;
        width: calc(100% - 20px);
        border-radius: 30px;
    }

    .card h1 {
        font-size: 24px;
    }

    .card label {
        font-size: 13px;
    }

    .card p {
        font-size: 12px;
        max-width: 98%;
        margin-bottom: 18px;
    }

    .card h2 {
        font-size: 14px;
        text-align: left;
    }

    #ready {
        font-size: 30px;
    }

    #ready-btn {
        position: relative;
        top: 20px;
    }

    #payment-link-button {
        font-size: 12px;
    }

    #finishingSubtitle {
        max-width: 90%;
    }

}