/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    max-width:90%;
    margin:auto;
}

/* Admin panel form section */
h1 {
    text-align: center;
    margin: 30px 0;
    font-size: 2.5rem;
}

.form-section {
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.form-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-section input,
.form-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}

.form-section button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    display: block;
    width: 100%;
}

.form-section button:hover {
    background-color: #444;
}

/* Output sections */
.json-output,
.html-output {
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.json-output pre,
.html-output pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    font-size: 1em;
    font-family: "Courier New", monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .form-section,
    .json-output,
    .html-output {
        margin: 10px;
        padding: 15px;
    }

    .form-section input,
    .form-section textarea,
    .form-section button {
        font-size: 1em;
    }
}

/* Styling for the form elements */
label {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #333;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

/* Input focus effect */
input:focus, textarea:focus {
    border-color: #1e90ff;
    background-color: #fff;
    outline: none;
}

/* Add padding and styling to textarea */
textarea {
    height: 150px;  /* Control height of textarea */
    resize: vertical;  /* Allow vertical resizing */
}

/* Button styles */
button {
    padding: 12px 25px;
    background-color: #333;
    color: white;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

/* Button hover effect */
button:hover {
    background-color: #444;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    input, textarea {
        font-size: 1em;
        padding: 10px;
    }

    button {
        font-size: 1em;
    }
}

