body {
    background-color: #0f1420;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.json-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.json-content {
    display: flex;
    gap: 20px;
}

.json-section {
    flex: 1;
    background-color: #1c2331;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h3 {
    color: #3498db;
    font-size: 22px;
    margin-bottom: 25px;
}

.input-wrapper {
    margin-bottom: 10px;
}

input[type="text"], textarea, .result-area {
    width: 92%;
    padding: 12px 15px;
    background-color: #2c3e50;
    border: 1px solid #34495e;
    color: #ffffff;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus, textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

textarea, .result-area {
    height: 180px;
    resize: vertical;
}

.json-button {
    width: 100%;
    padding: 12px 15px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.json-button:hover {
    background-color: #2980b9;
}

.json-button:active {
    transform: translateY(1px);
}

.result-area {
    background-color: #2c3e50;
    border: 1px solid #34495e;
    color: #ffffff;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-y: auto;
    margin-bottom: 20px;
    font-family: monospace;
}

.refresh-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.refresh-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-size: 16px;
    font-weight: bold;
}

.refresh-button:hover {
    background-color: #2980b9;
}

.refresh-button:active {
    transform: translateY(1px);
}

.refresh-icon {
    margin-right: 8px;
    font-size: 18px;
}

@media (max-width: 968px) {
    .json-content {
        flex-direction: column;
    }

    .json-section {
        margin-bottom: 30px;
    }
}
