/* General styles */
.wrap {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container to arrange settings form and preview side by side */
.settings-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Settings form section */
.settings-form {
    flex: 0 1 30%; /* 30% width for the settings form */
    min-width: 250px;
}

.settings-form h2 {
    font-size: 20px; /* Smaller heading font size */
    margin-bottom: 15px;
}

.settings-form form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Smaller gap between elements */
}

.settings-form label {
    font-weight: bold;
    font-size: 14px; /* Smaller font size for labels */
}

/* Smaller input fields */
.settings-form input[type="text"],
.settings-form input[type="checkbox"],
.settings-form select {
    padding: 6px 8px; /* Smaller padding for input fields */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px; /* Smaller font size for input fields */
    width: 100%;
}

.settings-form input[type="checkbox"] {
    width: auto; /* Keep checkbox width as auto */
}

.settings-form select {
    width: 100%; /* Ensuring select box spans full width */
}

/* Preview section */
.settings-preview {
    flex: 1 1 65%; /* 65% width for the preview box */
    min-width: 500px;
    padding: 20px;
    background-color: #ffffff !important;
    border-left: 2px solid #828282; /* Add a vertical line on the left */
}


.settings-preview h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.settings-form h2 {
    margin-top: 40px;
    font-size: 24px;
    text-align:center;
}

.preview-box {
    background-color: #ccc;
    padding: 30px; /* Larger padding for a bigger preview */
    border: 1px dashed #ccc;
    border-radius: 6px;
    text-align: center;
    min-height: 300px; /* Increased height for a bigger preview */
    font-size: 18px;
    color: #333;
}

.preview-box p {
    margin: 0;
    color: #555;
}

.form-table th {
    vertical-align: top;
    text-align: left;
    padding: 20px 10px 20px 0;
    width: unset;
    line-height: 1.3;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 768px) {
    .settings-container {
        flex-direction: column;
    }

    .settings-form {
        flex: 0 1 100%; /* Settings take full width on small screens */
    }

    .settings-preview {
        flex: 0 1 100%; /* Preview also takes full width on small screens */
    }
}
