/* Resetting margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 2% 10% 5% 10%; /* Top, Right, Bottom, Left */
    background-image: url('BG.webp'); /* Ensure the path is correct */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This already provides a basic parallax effect */
    color: #333;
}

textarea, input, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    height: 200px;
}

pre {
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    margin-top: 10px;
    overflow: auto;
}

button {
    padding: 10px 15px;
    margin-top: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.checkbox-container, .input-group {
    margin-top: 10px;
}

.checkbox-container label {
    display: inline-block;
    margin-left: 5px;
}

h1 {
    color: #000000;
}

label {
    display: block;
    margin-top: 20px;
    color: #000000;
}

/* Custom styles for specific elements */
#notificationText, #notificationLocationName, #lootTableNames {
    width: calc(100% - 10px); /* Full width minus padding */
}

.input-group {
    margin-bottom: 10px;
}

/* Enhancements for readability with light text on a potentially complex background */
input[type='text'], input[type='number'], select, textarea {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Styling the generated configuration pre element */
#outputData {
    height: 100px; /* Fixed height with scroll */
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for better readability */
}

.checkbox-container {
    margin-top: 10px;
    display: inline-block; /* Makes the container only as wide as its content */
}

.checkbox-container label {
    display: flex;
    align-items: center; /* Centers the checkbox and label text vertically */
}

.checkbox-container input[type='checkbox'] {
    margin-right: 3px; /* Ensures spacing between the checkbox and the label text */
}

/* Existing styles remain unchanged */

.form-container {
    max-width: 1200px; /* Adjusts the width of the form to not stretch too wide */
    margin: 0 auto; /* Centers the container horizontally */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Enhances readability with a slight transparency */
    border-radius: 8px; /* Softens the edges with a rounded border */
}

/* You might want to adjust the width of specific elements inside the form container */
.form-container textarea, .form-container input, .form-container select {
    width: calc(100% - 16px); /* Adjusts width considering padding */
}

/* Continue with other styles */

