/* Base Styles for All Themes */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 0;
}

.settings {
    margin: 0 auto;
    width: 300px; /* Set a specific width for the settings container */
    padding: 10px;
    display: flex;
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    flex-direction: column; /* Stack elements vertically */
}

.settings table {
    width: 100%;
    text-align: left;
    border-spacing: 10px 0; /* Adjust spacing between rows */
}

.settings td {
    padding: 5px 0; /* Add vertical padding */
    display: flex;
    justify-content: space-between; /* Spread the label and checkbox */
    align-items: center; /* Vertically align items */
}

.settings td:first-child {
    font-size: 1rem; /* Font size adjusted for better readability */
}

h1 {
    font-size: 2rem; /* Adjust headline font size */
    margin: 20px 0;
}

/* Checkbox and select adjustments */
select, input[type="checkbox"] {
    width: auto; /* Set to auto so checkboxes don't stretch */
    margin-left: 10px; /* Add space between label and checkbox */
    transform: scale(1); /* Keep checkbox size normal for desktop */
}

/* Responsive Settings Table */
@media (max-width: 600px) {
    .settings {
        width: 95%; /* Ensure it fits within the screen with some padding */
    }

    .settings td {
        display: flex;
        flex-direction: row; /* Align items horizontally on mobile */
        justify-content: space-between;
        padding: 5px 0; /* Reduce padding for better spacing on mobile */
        font-size: 0.9rem; /* Slightly smaller font on mobile */
    }

    select, input[type="checkbox"] {
        margin-left: 10px; /* Space out form elements */
        transform: scale(0.8); /* Smaller checkbox for mobile */
    }

    h1 {
        font-size: 1.5rem; /* Reduce headline size on mobile */
    }
}
