/* Exemplo de reset de CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;

    font-family: 'Montserrat', sans-serif;
}


.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0px 20px 30px;
    text-align: center;
}

.header {
    background-color: #da0029;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #000000;
    ;
}

.header img {
    width: 150px;
    margin: -30px 0px;
}

.valor-desconto{
   display: flex;
   justify-content:end;
   color: red;
  
}

.valor-total{
    display: flex;
    justify-content:end;
    color: green;
}

.valor-total p{
    font-weight: bold;
    margin: 0px;
}

.valor-desconto p{
    font-weight: bold;
}
.titllee {
    font-size: 16px;
    display: flex;
    text-align: center;
    margin-top: 30px;
    justify-content: center;
    margin-bottom: 20px;
}


.popUp-dica {
    background-color: #dfdfdf;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(114, 114, 114);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    bottom: 500px;
    margin: 20px;
  
}

.dica-p  {
    font-weight: 400;
}
.dica-errado{
    font-weight: 800;
}

.selecione-resposta {
    background-color: #dfdfdf;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(114, 114, 114);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    bottom: 400px;
    margin: 20px;
  
}

.selecione-resposta-p {
    font-weight: 800;

}


.opacity {
    opacity: 0.3;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 50px 0;
    background-color: #da0029;
    z-index: -1;
}



.content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(114, 114, 114);
}

.btn {
    background-color: #da0029;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    /* Suaviza a transição */
    font-size: 20px;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 30px;
}

p {
    font-size: 16px;
    font-weight: 500;
}

.btn:hover {
    background-color: #da0029;
}

.options {
    margin-top: 20px;
}

.btn {
    background-color:#da0029;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    /* Suaviza a transição */
    font-size: 20px;
    font-weight: 400;
    margin-top: 20px;
    width: 100%;
}

.options button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #000000
    ;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 20px;
    font-size: 17px;
}

/* Estilo para o botão correto quando selecionado */
.options button.correct-selected {
    background-color: green;
    color: white;
    opacity: 0.6;
}

/* Estilo para o botão incorreto quando selecionado */
.options button.incorrect-selected {
    background-color: red;
    color: white;
    opacity: 0.4;
}

/* Estilo padrão para botão, removendo a necessidade de :focus */
.options button {
    outline: none;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Estilos padrões para os botões */
.option {
    background-color: #f4f4f4;
    color: black;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Suaviza a transição */
}

.btn-resgate{
    
    text-decoration: none;
}

.p-resgate{
    margin-bottom: 30px;
    
}
/* ===== POPUP LOGIN ===== */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-login-box {
    background: #f0f0f0;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 0.3s ease;
}

.popup-login-header {
    background: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
}

.popup-numero {
    background: #da0029;
    color: #fff;
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.popup-login-body {
    padding: 20px;
}

.popup-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.popup-help {
    background: #bbb;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.popup-input-row {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.popup-input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
}

.popup-btn-login {
    background: #da0029;
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
}

.popup-btn-login:hover {
    background: #b8001f;
}

/* ===== POPUP LOADING ===== */
.popup-loading-box {
    background: #fff;
    border-radius: 14px;
    width: 90%;
    max-width: 340px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 0.3s ease;
}

.spinner {
    width: 54px;
    height: 54px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #da0029;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.loading-status {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
    min-height: 22px;
    transition: opacity 0.3s;
}

.loading-bar-bg {
    background: #eee;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: #da0029;
    border-radius: 10px;
    width: 0%;
    transition: width 0.6s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== FIX POPUP DISPLAY ===== */
.popup-overlay {
    display: none !important;
}
.popup-overlay.active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.6) !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
}
