/* Estilos para o Editor TraderPlus */

.trader-plus-container {
    margin-bottom: 2rem;
}

.options-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.options-section h5 {
    color: #7c3aed;
    margin-bottom: 15px;
    font-weight: 600;
}

.option-item {
    margin-bottom: 15px;
}

.option-item label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

.dark-input, .dark-select, .dark-textarea {
    background-color: #20253a;
    border: 1px solid #2d3748;
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
}

.dark-textarea {
    min-height: 150px;
    resize: vertical;
}

.dark-input:focus, .dark-select:focus, .dark-textarea:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.dark-output {
    background-color: #1a202c;
    border: 1px solid #2d3748;
    border-radius: 4px;
    padding: 15px;
    color: #e2e8f0;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.output-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.buttons-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.btn-primary:hover {
    background-color: #6d28d9;
    border-color: #6d28d9;
}

.btn-secondary {
    background-color: #4a5568;
    border-color: #4a5568;
}

.btn-secondary:hover {
    background-color: #2d3748;
    border-color: #2d3748;
}

.btn-outline-light {
    color: #e2e8f0;
    border-color: #4a5568;
}

.btn-outline-light:hover {
    background-color: #4a5568;
    color: #fff;
}

.alert-info {
    background-color: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

/* Hack para Chrome/Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .dark-select {
        background-color: #20253a;
        color: #fff;
    }
    
    .dark-select option {
        background-color: #20253a !important;
        color: #fff !important;
    }
}
