* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #e0e0e0;
    padding: 20px;
}

.cartao-config {
    background: #1e1e2f;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    max-width: 420px;
    width: 100%;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

h2 {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
}

.opcao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2a2a40;
    padding: 15px 20px;
    border-radius: 15px;
}

.texto-opcao {
    display: flex;
    flex-direction: column;
}

.titulo {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.descricao {
    color: #aaa;
    font-size: 0.85rem;
}

/* Switch estilizado */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.3s;
    border-radius: 25px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #7c3aed;
}

input:checked+.slider::before {
    transform: translateX(20px);
}

/* Botão voltar */
#btnVoltar {
    margin-top: 10px;
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#btnVoltar:hover {
    background: #a78bfa;
    transform: translateY(-2px);
}

@media (max-width: 500px) {
    .cartao-config {
        padding: 20px;
    }
}