/* Estilos gerais do simulador */
.simulador-container {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa; /* cor de fundo para a seção do simulador */
}

/* Estilos para as etapas */
.simulador-step {
    padding: 20px;
}

/* Estilos de cores */
.bg-darkgreen {
    //background-color: #004d40;
    color: #fff;
}

.bg-lightgreen {
    background-color: #e8f5e9;
    color: #000;
}

/* Estilos de botões */
.btn {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Estilos para formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 5px;
}

.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse; /* Garante que a borda seja única */
}

.table th, .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f1f1f1; /* Cor de fundo para cabeçalho */
}

/* NOVIDADE: Estilo para linhas zebradas (striped) */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05); /* Um cinza muito claro */
}

/* Estilos para dispositivos móveis */
@media (max-width: 767.98px) {
    .simulador-container {
        border-radius: 0;
    }
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto; /* Permite o deslize horizontal */
    -webkit-overflow-scrolling: touch; /* Melhora a rolagem em iOS */
}

/* Garante que a tabela não quebre linhas desnecessariamente para permitir o deslize */
.table-responsive > .table {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
}