.sequence-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
    width: 100%;
}

.analyzer-card {
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analyzer-header h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.analyzer-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sequence-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.sequence-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.3);
}

.analyze-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.error-message {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    font-size: 0.95rem;
    text-align: center;
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.result-value {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 500;
    word-break: break-word;
}

.result-value.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.sequence-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    align-items: center;
}

.sequence-num {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.sequence-prediction {
    color: #4facfe; /* Vibrant blue distinct from text-main */
    background: rgba(79, 172, 254, 0.15);
    border: 1px dashed #4facfe;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
}

.sequence-separator {
    color: var(--text-muted);
}
