body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.settings-container {
    background-color: #ffffff;
    border-radius: 10px;
    margin: 100px 30px 50px 30px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-pills {
    background-color: #289a96;
    height: 100%;
    border-radius: 10px 0 0 10px;
}

.nav-pills .nav-link {
    color: #ffffff;
    border-radius: 0;
    padding: 15px 20px;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #ffffff;
    color: #289a96;
}

/* New styles for the permissions tab */
.nav-pills .permissions-tab {
    margin-top: auto; /* Push to the bottom */
}

.nav-pills .permissions-tab.active {
    border-bottom-left-radius: 10px; /* Round the bottom-left corner when active */
}

.tab-content {
    padding: 20px;
}

.form-check-input:checked {
    background-color: #289a96;
    border-color: #289a96;
}

.btn-primary {
    background-color: #289a96;
    border-color: #289a96;
}

.btn-primary:hover {
    background-color: #1e7471;
    border-color: #1e7471;
}

/* New styles for SVG icons */
.nav-icon {
    height: 1.2em;
    width: 1.2em;
    -webkit-transition: -webkit-filter 0.3s ease;
    transition: -webkit-filter 0.3s ease;
    transition: filter 0.3s ease;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease;
    vertical-align: text-bottom;
}

.nav-pills .nav-link .nav-icon {
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1); /* Make icons white by default */
}

.nav-pills .nav-link.active .nav-icon {
    -webkit-filter: brightness(0) saturate(100%) invert(40%) sepia(87%) saturate(463%) hue-rotate(135deg) brightness(95%) contrast(101%);
            filter: brightness(0) saturate(100%) invert(40%) sepia(87%) saturate(463%) hue-rotate(135deg) brightness(95%) contrast(101%);
    /* This filter approximates the #289a96 color */
}

@media (max-width: 575.98px) {
    .settings-container {
        background-color: transparent;
        -webkit-box-shadow: none;
                box-shadow: none;
        border-radius: 10px;
        margin-left: 5px;
    }

    .nav-pills {
        border-radius: 10px;
    }

    .nav-pills .nav-link {
        padding: 10px;
        margin: 10px 0 10px 0;
    }

    .nav-pills .nav-link span {
        display: none;
    }

    .nav-pills .nav-link .nav-icon {
        font-size: 1.2rem;
    }

    .tab-content {
        background-color: transparent;
        padding: 10px 0;
    }
}