/* Basic styles for demo.lumatic-labs.com */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

header {
    text-align: center;
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    color: #333;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

header p {
    margin: 5px 0 0 0;
    color: #666;
}

main {
    max-width: 1000px;
    margin: 0 auto;
}

.tool-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.tool-section h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.tool-section p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.tool-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#input-json, #output-json {
    width: 100%;
    height: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    resize: vertical;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

.instructions {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.instructions h3 {
    margin-top: 0;
    color: #333;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    color: #555;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 0.9em;
}

@media (min-width: 768px) {
    .tool-container {
        flex-direction: row;
    }
    
    #input-json, #output-json {
        width: calc(50% - 7.5px);
        height: 300px;
    }
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

footer {
    background-color: #f4f4f4;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
}

.hero {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.hero h2 {
    margin-top: 0;
    color: #333;
}

.hero p {
    color: #666;
    font-size: 1.1em;
}

.benefits {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.benefits h3 {
    text-align: center;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item h4 {
    margin: 0 0 8px 0;
    color: #444;
}

.benefit-item p {
    margin: 0;
    color: #666;
}

.tool-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.tool-section h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.tool-section p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.tool-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#input-json, #output-json {
    width: 100%;
    height: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    resize: vertical;
}

.button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

.instructions {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.instructions h3 {
    margin-top: 0;
    color: #333;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    color: #555;
}

@media (min-width: 768px) {
    .tool-container {
        flex-direction: row;
    }
    
    #input-json, #output-json {
        width: calc(50% - 7.5px);
        height: 300px;
    }
}