.simulador h3 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.simulador .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.simulador .coluna {
    margin-top:15px;
    padding: 20px;
    border-radius: 6px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
    /* backdrop-filter: blur(10px); */
    max-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.simulador .table thead th,
.simulador .table tfoot th {
    color: white;
}
.simulador .form-container, .simulador .resultado-container {
    padding: 10px;
    overflow-y: auto;
    height: calc(100vh - 250px);
    padding-right: 10px;
}

.simulador .coluna h3 {
    text-shadow: none;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 25px;
}



/* .simulador input,
.simulador select,
.simulador textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.simulador input[type="text"],
.simulador input[type="number"],
.simulador select,
.simulador textarea {
    width: 100%;
} */

/* .simulador input:focus,
.simulador select:focus,
.simulador textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
} */

.simulador .info-gramas {
    font-size: 0.9em;
    margin-bottom: 0;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    border-left: 4px solid #3e3745;
}

.simulador .sep {
    border-bottom: 1px solid #e1e5e9;
    margin: 20px 0;
}

.simulador textarea {
    height: 120px;
    resize: vertical;
}

.simulador pre {
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    white-space: pre-wrap;
    word-break: break-word;
    height: calc(100% - 80px);
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    max-height: calc(100vh - 275px);
    overflow-y: auto;
}

.simulador button {
    /* width: 100%;
    margin-top: 20px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    /* transition: all 0.3s ease;
    text-transform: uppercase; */
    /* letter-spacing: 1px; */
}

.simulador .button-container {
    display: flex;
    align-content: end;
    margin-top: 20px;
    gap: 15px;
}
/*
.simulador button[type="submit"] {
    background: #667eea;
}

.simulador button[type="button"] {
    background: #28a745;
} */

/* .simulador button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.simulador  button[type="button"]:hover {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
} */

/* .simulador  button:active {
    transform: translateY(0);
} */

.simulador fieldset {
    margin-top: 25px;
    border: none;
    padding: 0;
    border-radius: 6px;
    background: none;
}

.simulador  legend {

}

.simulador .grid-4col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.simulador .campo {
    display: flex;
    flex-direction: column;
}

/* .simulador .campo label {
    margin-bottom: 5px;
    font-size: 1em;
} */

.simulador .checkbox-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px 25px;
    margin-top: 15px;
}

/* .simulador .checkbox-grid-4 label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95em;
    font-weight: 500;
    margin-bottom: 0;
} */
/*
.simulador .checkbox-grid-4 label:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(3px);
}

.simulador .checkbox-grid-4 input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom: 0;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.simulador .checkbox-grid-4 input[type="checkbox"]:checked+span {
    font-weight: 600;
}

/* Personalização dos checkboxes
.simulador .checkbox-grid-4 input[type="checkbox"] {
    appearance: none;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
}

.simulador .checkbox-grid-4 input[type="checkbox"]:checked {
    background: #929292;
    border-color: #525252;
}

.simulador .checkbox-grid-4 input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 6px;
    color: white;
    font-size: 20px;
    font-weight: bold;
} */

.simulador .coluna {
    background-color: #221e26;
}

/* Responsividade */
@media (max-width: 1200px) {
    .simulador .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .simulador .coluna {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .simulador body {
        padding: 15px;
    }

    .simulador .coluna {
        padding: 20px;
    }

    .simulador h3 {
        font-size: 1.6em;
    }

    .simulador .grid-4col {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .simulador .checkbox-grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px 15px;
    }

    .simulador input,
    .simulador select,
    .simulador textarea {
        padding: 10px 12px;
    }

    .simulador button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .simulador body {
        padding: 10px;
    }

    .simulador .coluna {
        padding: 15px;
    }

    .simulador h3 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .simulador  .grid-4col {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .simulador .checkbox-grid-4 {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .simulador fieldset {
        padding: 15px;
        margin-top: 20px;
    }

    .simulador legend {
        font-size: 1.1em;
        padding: 0 10px;
    }
}

/* Scrollbar personalizada */
/* .simulador .coluna::-webkit-scrollbar {
    width: 8px;
}

.simulador .coluna::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.simulador .coluna::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.simulador .coluna::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
} */

/* .simulador pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.simulador  pre::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.simulador pre::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}

.simulador pre::-webkit-scrollbar-thumb:hover {
    background: #777;
} */