﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background: #f5f5f5;
}

.container {
    max-width: 1400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 5% auto auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.section {
    display: flex;
    flex-direction: column;
}

.section h2 {
    margin-bottom: 15px;
    color: #555;
    font-size: 18px;
}

.file-input {
    margin-bottom: 15px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.left-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    resize: vertical;
}

#yaml_content {
    flex: 1;
    min-height: 350px;
}

#schema_content {
    height: 100%;
    min-height: 450px;
}

textarea:read-only {
    background: #f9f9f9;
    color: #666;
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

button {
    padding: 12px 40px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #5568d3;
}

.result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 4px;
}

.result.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.result.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.result h3 {
    margin-bottom: 10px;
}

.result ul {
    margin-left: 20px;
}

.result li {
    margin: 5px 0;
}

input[type="file"] {
    padding: 8px;
}