/*
 * Copyright (c) 2025 https://json-formatter.app
 * Released under the MIT License.
 * See LICENSE file in the project root for full license information.
 */

/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    justify-content: space-between;
}

.input-section, .output-section {
    width: 48%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}

h1 {
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    margin: 20px 0;
}

h2 {
    font-size: 1.5em;
}

textarea {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

textarea.error {
    border-color: red;
}

pre {
    background: #eee;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 40px;
}

button {
    margin: 5px 0;
}

.upload-section {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
}

#copyButton {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

.footer .footer-column {
    display: inline-block;
    width: 30%;
    vertical-align: top;
}

.footer a {
    color: #009688;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

