
/* Existing pending classes (keep or add if not present) */
ul.ks-cboxtags li label.pending {
  border-color: #1bdbf8;
  background-color: #e9faff;
  color: #0aa6be;
}
ul.ks-cboxtags li label.pending-deselect {
  border-color: #ff7b7b;
  background-color: #ffecec;
  color: #b30000;
}







    .container {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 20px;
        padding-top: 50px;

    }

    ul.ks-cboxtags {
        list-style: none;
        padding-left: 20px
    }

    /* Prevent the browser from performing touch gestures while dragging */
    ul.ks-cboxtags, #list {
        -ms-touch-action: none;
        touch-action: none;
    }

    ul.ks-cboxtags li {
        display: inline;
    }

    ul.ks-cboxtags li label:hover {
        background-color: #f2fdff;
        border: 1px solid #1bdbf8;
    }

    ul.ks-cboxtags li label {
        display: inline-block;
        background-color: rgba(255, 255, 255, .9);
        border: 1px solid rgba(139, 139, 139, .3);
        color: black;
        border-radius: 15px;
        white-space: nowrap;
        margin: 3px 0px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: all .2s;
    }

    ul.ks-cboxtags li label {
        padding: 15px 15px;
        margin: 4px;
        cursor: pointer;
        width: 35px;
        text-align: center;
    }

    ul.ks-cboxtags li label::before {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 12px;
        transition: transform .3s ease-in-out;
    }

    ul.ks-cboxtags li input[type="checkbox"]:checked+label::before {
        transform: rotate(-360deg);
        transition: transform .3s ease-in-out;
    }


    ul.ks-cboxtags li input[type="checkbox"]:checked+label {
        border: 1px solid #1bdbf8;
        background-color: #12bbd4;
        color: #fff;
        transition: all .2s;
    }


    ul.ks-cboxtags li input[type="checkbox"] {
        display: absolute;
    }

    ul.ks-cboxtags li input[type="checkbox"] {
        position: absolute;
        opacity: 0;
    }

    .button {
        border: none;
        background-color: rgb(240, 239, 239);
        border: 2px solid rgba(139, 139, 139, .3);
        padding: 8px 8px;
        font-size: 18px;
        cursor: pointer;
        width: 80px;
    }


    .fixedElement {
        position: fixed;
        height: 50px;
        width: 100%;
        left: 0;
        padding-top: 10px;
        padding-left: 10px;
    }

    .mybtn {
        width: 300px;
        padding: 15px 15px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 20px;
        background-color: rgb(240, 239, 239);
        border: 2px solid rgba(139, 139, 139, .3);
        font-size: 18px;
        cursor: pointer;
    }

    /* Mobile: make the selection UI more compact so it fits the screen */
    @media (max-width: 600px) {
        .fixedElement {
            height: auto;
            padding: 8px 10px;
        }
        .mybtn { width: auto; padding: 8px 10px; font-size: 14px; }
        .container { font-size: 16px; padding-top: 72px; }
        ul.ks-cboxtags { padding-left: 8px; }
        ul.ks-cboxtags li label {
            padding: 6px 8px;
            margin: 3px;
            border-radius: 10px;
            width: auto;
            min-width: 26px;
            font-size: 13px;
            text-align: center;
            white-space: nowrap;
        }
    }
