body {
    font-family: sans-serif;
    background-color: #f4f7f6;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    color: #666;
}

#faq-container {
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #fafafa;
}

.faq-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.faq-item input,
.faq-item textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.faq-item textarea {
    min-height: 80px;
    resize: vertical;
}

.remove-faq-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.remove-faq-btn:hover {
    background-color: #c82333;
}

#add-faq-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

#add-faq-btn:hover {
    background-color: #218838;
}

.schema-output-container {
    position: relative;
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 5px;
    margin-top: 10px;
}

#schema-output {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#copy-schema-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

#copy-schema-btn:hover {
    background-color: #0056b3;
}