/* Java to Smali Converter - Styles */

.code-editor {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid var(--color-lightGrey);
    border-radius: 4px;
    padding: 1rem;
    background-color: #f8f9fa;
    resize: vertical;
    min-height: 200px;
}

.code-editor:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 116, 217, 0.2);
}

.editor-section {
    margin-bottom: 2rem;
}

.editor-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-darkGrey);
}

.convert-button {
    margin: 2rem 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.output-section {
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 1.5rem;
}

.error-message {
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    border-radius: 4px;
    padding: 1rem;
    color: #d8000c;
    margin: 1rem 0;
}

.success-message {
    background-color: #e6ffe6;
    border: 1px solid #99ff99;
    border-radius: 4px;
    padding: 1rem;
    color: #2d5a2d;
    margin: 1rem 0;
}

.test-message {
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
}

.test-message.success {
    background-color: #e6ffe6;
    border: 1px solid #99ff99;
    color: #2d5a2d;
}

.test-message.error {
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    color: #5a2d2d;
}

.test-message.info {
    background-color: #e6f3ff;
    border: 1px solid #99ccff;
    color: #2d4a5a;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.copy-button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.example-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.example-code {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    overflow-x: auto;
}