body {
    background-color: #f8f9fa; /* Light grey for background */
    font-family: Arial, sans-serif;
}

h2 {
    text-align: center;
    color: #007bff; /* Bootstrap primary color */
    margin-bottom: 1rem;
}

.config-section {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.config-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Table styles */
.table thead th {
    background-color: #007bff;
    color: white;
}

.table tbody td {
    vertical-align: middle;
}

/* Button styles */
.btn-primary {
    background-color: #007BFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #218838;
}

.btn-secondary {
    background-color: #6C757D;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}

/* Collapsible section styles */
.collapsible {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 10px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    margin-top: 10px;
    border-radius: 8px;
}

.collapsible.active,
.collapsible:hover {
    background-color: #007bff;
    color: white;
}

.content {
    padding: 0 15px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-top: 10px;
    border-radius: 8px;
}

/* Form styles */
.form-group {
    margin-bottom: 15px;
}

.form-label,
label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-control-file, .form-control-color {
    border-radius: 5px;
    padding: 10px;
}

.form-check {
    display: flex; /* Aligns checkbox and label in a row */
    align-items: center;
    gap: 10px; /* Space between checkbox and label */
}

.form-check.form-switch {
    margin-left: 10px; /* Adds spacing between switch input and label */
}

.form-check-label {
    margin-left: 10px;
}

.form-actions {
    margin-top: 20px;
}

/* Margin and spacing utilities */
.mb-3 {
    margin-bottom: 15px;
}

textarea {
    resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .row > .col-md-6 {
        margin-bottom: 15px;
    }
}

.content .row {
    margin-bottom: 15px;
}
