body {
    background-color: #e9ecef;
}

.form-control, select.form-select {
    height: 38px;
    margin-top: 10px;
}

h4 {
    margin-top: 20px;
}

.tab-content .section {
    padding-top: 20px;
}

.align-row {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.align-buttons-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.btn-group {
    margin-bottom: 10px;
}

.message-border {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 15px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn {
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-add {
    background-color: #28a745;
    height: 31px;
    padding: 0 12px;
    line-height: 31px;
}

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

.btn-remove {
    background-color: #dc3545;
    height: 31px;
    padding: 0 12px;
    line-height: 31px;
}

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

/* Scale the size of the switch */
.big-switch {
    width: 100px;
    height: 40px;
    transform: scale(1.5); /* Scale the switch to 1.5 times its original size */
    /*background-color: #007bff;*/
}

.big-switch:checked {
    background-color: #28a745; /* Green when checked */
}

/* Adjust the label font size and margin */
.form-check-label {
    font-size: 24px;
    margin-left: 15px;
}

/* General Tab Styling */
.tab-pane .subscription-controls {
    display: flex;
    gap: 0.5rem;
}

.tab-pane .payload-controls .input-group {
    display: flex;
    align-items: center;
}