.cotizador {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    align-items: stretch;
    padding: 2rem 0;
}

.cotizador-item:first-child {
    flex-basis: 33.33%;
    margin-right: 8.34%;
}

.cotizador-item:last-child {
    flex-basis: 58.33%;
}

.cotizador-item {
    border-radius: 16px;
    border: 2px solid #B8FFC5;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .cotizador {
        flex-direction: column;
    }

    .cotizador-item {
        flex-basis: auto;
        margin-right: 0;
    }
}

legend {
    color: #96C23C;
    font-weight: bold;
    margin-bottom: 15px;
}

input[type="email"],
input[type="text"],
select {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="radio"] {
    margin-right: 5px;
}

.fieldset-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fieldset-centered input[type="submit"] {
    display: flex;
    align-content: center;
    justify-content: center;
}

input[type="submit"] {
    width: 12rem;
    height: 43px;
    background: #2E7441;
    border-radius: 8px;
    margin-top: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

table th,
table td {
    text-align: left;
    padding: 0.5rem;
    border: 1px solid #ddd;
}

table th {
    background-color: #f7f7f7;
}

.cotizador-item.col-lg-7.col-md-7 p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cotizador-item.col-lg-7.col-md-7 fieldset {
    margin: auto;
    display: block;
    width: fit-content;
}