body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #c2111700;
    align-items: center;
    justify-content: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-grow: 1;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.507);
    border-radius: 50px;
    overflow: hidden;
}
.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
   
    width: 100%;
    margin: 20px auto;
}



.submit-btn {
    background-color: #C21117; /* Cor do tema */
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 30%; /* Define uma largura específica para o botão se necessário */
    justify-content: center; 
    margin-left: 35%;
    position: relative;
    white-space: nowrap;
}
/* Define a largura do input de telefone para ocupar 100% da largura do form-wrapper */
.wide-input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    position: relative;
    left: 0; /* Remove a posição left para centralizar o input */
}

/* Ajuste para o campo de telefone com o código de país */
.iti--allow-dropdown input,
.iti--allow-dropdown input[type=text],
.iti--allow-dropdown input[type=tel],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=text],
.iti--separate-dial-code input[type=tel] {
    left: 20px; /* Remove o alinhamento à esquerda */
    height: 35px;
    position: relative;
    width: 100%; /* Ajuste para ocupar 100% da largura disponível */
    box-sizing: border-box; /* Inclua padding e bordas na largura */
}

/* Ajuste a posição da bandeira do código do país */
.iti__selected-flag {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 6px 0 8px;
    margin-left: 20px; /* Remove o espaçamento extra à esquerda */
}

/* Ajustes de layout para telas menores */
@media (max-width: 768px) {
    .wide-input,
    .iti--allow-dropdown input,
    .iti--separate-dial-code input {
        width: 100%; /* Garante que o input ocupe 100% em telas menores */
        left: 0;
    }

    .iti__selected-flag {
        margin-left: 0; /* Remove o espaçamento em telas menores */
    }
}

.submit-btn:hover {
    background-color: #A10F15; /* Escurece o botão ao passar o mouse */
}

/* Estilo para envolver o formulário */
.form-wrapper {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1); /* Sombra suave */
    margin-top: 10%;
  
    width: 80%;
}

.left, .right {
    padding: 20px;
}

.left {
    width: 40%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eeeeee;
}

.right {
    width: 60%;
    display: flex;
    flex-direction: column;
}
.payment-options {
    display: grid;
    gap: 5px;
}

.payment-option {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center; /* Aligns icon and text vertically */
    height: 35px; /* Reduced height */
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option .icon {
    font-size: 15px; /* Smaller icon size */
    color: #333;
    margin-right: 10px; /* Space between icon and text */
    margin-top: -25px;
}

.payment-option span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: left;
    flex-grow: 1;
    margin-left: -25px;
    margin-top: 5px;
}

.payment-option .checkmark {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 18px;
    color: red;
    display: none;
}

.payment-option input[type="radio"]:checked + .icon {
    color: red; /* Optional: change icon color to red when checked */
}

.payment-option input[type="radio"]:checked + .icon + span {
    color: red; /* Optional: change text color to red when checked */
}

.payment-option input[type="radio"]:checked + .icon + span + .checkmark {
    display: block;
}

.payment-option input[type="radio"]:checked + .icon + span + .checkmark + .payment-option {
    border-color: red;
}

.payment-option input[type="radio"]:checked {
    border-color: red;
    color: red;
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.7rem;
    color: #d71c1c;
    margin: 20px 0;
}

h2 {
    color: #333;
    font-size: 1rem;
    margin: 10px 0;
}
h3 {
    color: #333;
    font-size: 2rem;
    margin: 10px 0;
    margin-left: 150px;
}
h5 {
    color: #333;
    font-size: 1rem;
    margin: 10px 0;
    margin-left: 20px;
    margin-top: 30px;
}
.price-details {
    font-size: 1rem;
    color: #333;
    position: relative;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
    margin-left: 20px;
}

input, select {
    width: 90%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-left: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 95%;
}

.payment-options {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    flex-grow: 1;
    margin: 5px;
}

.footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.8rem;
    margin:20px;
    color: #333;
}
.footer .img {
    width: 40px;
    height: 20px;
    vertical-align: middle;
  }
hr {
    border-top: 1px solid #eee;
    width: 100%;
    margin-top: 10px;
}
.cabecalho {
    width: 60%; /* Default width for larger screens */
   
}

@media (max-width: 768px) {
    .cabecalho {
        width: 50%; /* Increase size on medium screens */
       
    }
}

@media (max-width: 480px) {
    .cabecalho {
        width: 40%; /* Increase size on small screens */
       
    }
}

.select-kit img {
    width: 100px;
    cursor: pointer;
}
/* General mobile adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
        max-width: none;
        border-radius: 20px;
    }

    .left, .right {
        width: 100%;
        padding: 10px;
        border-right: none;
    }

    .price-details {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
        margin: 10px 0;
    }

    h2 {
        font-size: 0.9rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-left: 0;
    }

    .card {
        padding: 15px;
        margin-top: 15px;
    }

    .form-wrapper {
        width: 88%;
        padding: 15px;
        margin-top: 20px;
    }
    input, select {
        width: 94%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 0.9rem;
        margin-left: 10px;
    }
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 95%;
    }

  

    .payment-options {
        flex-direction: column;
        margin-top: 10px;
    }

    .payment-option {
        margin: 5px 0;
    }

    .submit-btn {
        width: 100%;
        margin-left: 0;
    }

    .footer {
        font-size: 0.7rem;
        padding: 10px;
    }

    .footer .img {
        width: 30px;
        height: 15px;
    }

    hr {
        margin-top: 5px;
    }
    .payment-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Creates a 2-column grid */
        gap: 2px; /* Space between grid items */
    }

    .payment-option {
        width: 85%; /* Ensures each option takes full width of its grid cell */
        height: auto; /* Adjust height to content */
        justify-content: center; /* Center content horizontally */
    }
    .price-details {
        font-size: 0.8rem;
    }
    #observacao {
        width: 90%;
        border-radius: 15px;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        margin-left: 10px;
    }
    label {
        font-weight: 500;
        color: #333;
        display: block;
        margin-bottom: 5px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 0.8rem;
    }
    h5 {
        font-size: 0.8rem;
        margin-left: 10px;
    }

    h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    .payment-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Creates a 2-column grid */
        gap: 2px; /* Space between grid items */
    }
    .iti--allow-dropdown input,
    .iti--allow-dropdown input[type=text],
    .iti--allow-dropdown input[type=tel],
    .iti--separate-dial-code input,
    .iti--separate-dial-code input[type=text],
    .iti--separate-dial-code input[type=tel] {
        left: 10px; /* Remove o alinhamento à esquerda */
        height: 35px;
        position: relative;
        width: 110%; /* Ajuste para ocupar 100% da largura disponível */
        box-sizing: border-box; /* Inclua padding e bordas na largura */
    }
    
    /* Ajuste a posição da bandeira do código do país */
    .iti__selected-flag {
        z-index: 1;
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0 6px 0 8px;
        margin-left: 10px; /* Remove o espaçamento extra à esquerda */
    }
    .payment-option {
        margin-left: 3px;
        width: 85%; /* Ensures each option takes full width of its grid cell */
        height: auto; /* Adjust height to content */
        justify-content: center; /* Center content horizontally */
    }
    .price-details {
        font-size: 0.8rem;
    }

    .card {
        padding: 10px;
        margin-top: 10px;
    }

    .form-wrapper {
        padding: 10px;
        width: 90%;
    }
    #observacao {
        width: 90%;
        border-radius: 15px;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        margin-left: -30px;
    }
    .submit-btn {
        padding: 10px;
        font-size: 14px;
    }
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 95%;
    }
    .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-left: -10px;
    }
    .payment-option .icon, .payment-option .checkmark {
        font-size: 14px;
    }
    input, select {
        width: 90%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 0.9rem;
        margin-left: 10px;
    }
    label {
        font-weight: 500;
        color: #333;
        display: block;
        margin-bottom: 5px;
        margin-left: 10px;
    }
    .footer {
        text-align: center;
        margin-top: auto;
        font-size: 0.8rem;
        color: #333;
    }
    .footer .img {
        width: 40px;
        height: 20px;
        vertical-align: middle;
      }
}
