.js-formatter-tool {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#js-input, #js-output {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
}

#js-input {
    min-height: 380px;
    resize: none;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

#js-output {
    background-color: #1e1e1e;
    color: #d4d4d4;
}

.keyword {
    color: #569cd6;
}

.string {
    color: #ce9178;
}

.number {
    color: #b5cea8;
}

.comment {
    color: #6a9955;
    font-style: italic;
}

.function {
    color: #dcdcaa;
}

.operator {
    color: #d4d4d4;
}

.punctuation {
    color: #d4d4d4;
}

.card-header {
    font-weight: 600;
}

.status-message {
    font-size: 0.9rem;
}

.status-success {
    color: #198754;
}

.status-error {
    color: #dc3545;
}

.status-info {
    color: #0dcaf0;
}

.spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .js-formatter-tool .col-md-6 {
        margin-bottom: 1rem;
    }
}