/* Toolbar Container */
#dna-toolbar-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
}

/* Toolbar Main Styles */
#dna-toolbar {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* Input Methods */
.input-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.dna-input-method {
    padding: 8px 15px;
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.dna-input-method.active {  /* Added missing dot */
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Input Section */
.input-section {
    margin-bottom: 20px;
}

.dna-textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.analyze-btn, .download-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.analyze-btn {
    background-color: #28a745;
    color: white;
}

.download-btn {
    background-color: #6c757d;
    color: white;
}

.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Test Buttons */
.test-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-primary {
    background-color: #007bff;
    color: white;
}

.button-secondary {
    background-color: #6c757d;
    color: white;
}

/* Results Sections */
.results-section, #test-results {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.success {
    color: #28a745;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 4px;
}

.error {
    color: #dc3545;
    padding: 10px;
    background: #ffebee;
    border-radius: 4px;
}

.loading {
    color: #6c757d;
    padding: 10px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #dna-toolbar {
        padding: 15px;
    }
    
    .action-buttons, .test-buttons {
        flex-direction: column;
    }
    
    .button, .analyze-btn, .download-btn {
        width: 100%;
    }
}
/* Variant Table Styles */
#variant-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
#variant-table th, #variant-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}
#variant-table th {
    background-color: #f2f2f2;
}
#variant-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Results Sections */
#variant-results, #quality-metrics {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}
.dna-error {
    background: #ffeeee;
    border-left: 4px solid #ff5252;
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
    color: #d32f2f;
}
.dna-error strong {
    color: #b71c1c;
}
/* Add to your stylesheet */
.dna-results-display {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    background: #f8f9fa;
}

.loading {
    color: #6c757d;
    font-style: italic;
}

.analysis-results {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-item {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-label {
    font-weight: bold;
    width: 150px;
}

.result-value {
    flex-grow: 1;
}

.error {
    color: #dc3545;
    padding: 10px;
    background: #f8d7da;
    border-radius: 4px;
}
