.settings-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.settings-modal-content {
    background-color: #ffcc00;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 20px; /* Added rounded corners */
}

.settings-modal-content label {
    display: block;
    margin-bottom: 10px;
}

.settings-modal-content input[type="checkbox"] {
    margin-right: 5px; /* Spacing between checkbox and text */
}

#settingsClose {
    position: relative;
    top: 0;
    right: 0;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
}

#settingsClose:hover,
#settingsClose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.setting-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 10px;
}

        /* Style cho switch */
        .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 34px;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

    input:checked + .slider {
        background-color: #2196F3; /* Màu khi bật */
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider:before {
        transform: translateX(26px);
    }



    .tab-buttons {
        display: flex;
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
    }
    
    .tab-button {
        background: none;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 5px 5px 0 0;
        font-weight: bold;
    }
    
    .tab-button.active {
        background-color: #ddd;
    }
    
    .tab-content {
        display: none;
        padding: 20px;
    }
    
    .tab-content.active {
        display: block;
    }
