  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        *::-webkit-scrollbar{
          display: none;
        }
        body {
            background: #f0f0f0;
            color: #333;
            font-family: Verdana;
        }
        .container {
            display: flex;
            height: 100vh;
            width: 100vw;
        }
        h2 {
            margin-bottom: 2em;
        }
        .templates {
            border-right: 1px solid #333;
            width: 50%;
            padding: 1em;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .templates h2 {
          margin-bottom: 3em;
        }
        .templates .item {
            height: 3em;
            display: flex;
            width: 20em;
            justify-content: space-evenly;
            align-items: center;
            border: 1px solid #777;
            margin-bottom: 1em;
            border-radius: .3em;
            position: relative;
            cursor: pointer; /* Change cursor to pointer */
        }
        .templates .item[data-selected="true"] {
            border-color: dodgerblue;
        }
        .custom-check {
            height: 1em;
            width: 1em;
            border-radius: 50%;
            border: 1px solid #777;
        }
        .templates .item[data-selected="true"] .custom-check {
            box-shadow: 0px 1px 10px dodgerblue;
            border-color: dodgerblue;
        }
        .custom-dropdown {
            position: relative;
            width: 100%;
            cursor: pointer; /* Change cursor to pointer */
        }
        .dropdown-content {
            display: none; /* Initially hide the dropdown content */
            padding: 1em;
            background: #e0e0e0;
            border: 1px solid #777;
            border-radius: .3em;
            margin-top: 0.5em;
            width: 100%;
        }
        
.content {
    display: grid
;
    flex-direction: column;
    align-items: center;
    width: 50%;
    padding: 1em;
    place-items: center;
    overflow: scroll;
}
        
          .tags {
            height: 3em;
            width: 80%;
            border: 1px solid #7b40ec;
            padding: .5em 1em;
            border-radius: .5em;
            margin-bottom: 1em;
            box-shadow: 1px 2px 9px #bea5ec;
            display: flex;
            flex-wrap: wrap;
            overflow: hidden;
            max-width: 97%;
        }
        .tags-list {
            height: 100%;
            width: 90%;
            flex-wrap: wrap;
            white-space: nowrap;
            overflow: scroll;
        }
        .tags-list::-webkit-scrollbar {
            display: none;
        }
       .tag {
    height: 100%;
    display: inline-flex
;
    justify-content: center;
    align-items: center;
    background: #7b40ec;
    color: #f0f0f0;
    padding: .5em 1em;
    font-size: .9em;
    border-radius: .4em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}
        .remove {
            text-transform: uppercase;
            color: #000;
            margin-left: .6em;
            cursor: pointer;
        }
        label[for=toggleList] {
            height: 100%;
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        .search-container {
            background: white;
            padding: 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 80%;
            transition: height 0.3s ease;
            overflow: hidden;
            max-width: 97%;
            margin-bottom: 1em;
            height: 0;
        }
        h2 {
            text-align: center;
            margin-bottom: 15px;
        }
        .input-group {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            overflow: hidden;
            padding: 0 10px;
        }
        input[type="text"] {
            flex: 1;
            padding: 10px;
            border: none;
            font-weight: 600;
            outline: none;
        }
        .clear-btn {
            cursor: pointer;
            display: none;
            padding: 10px;
            background: transparent;
            border: none;
            color: #333;
            font-size: 1.2em;
        }
        .list-group {
            list-style-type: none;
            padding: 0;
            margin: 0;
            height: 14em;
            overflow: scroll;
        }
        .list-group-item {
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 5px;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            gap: 1em;
            cursor: pointer;
        }
        .list-group-item:hover {
            background: #f1f1f1;
        }
        .list-group-item.selected {
            background: #7b40ec;
            color: white;
        }
        .list-group-item::before {
            content: '';
            height: 1.8em;
            width: 1.8em;
            border-radius: .2em;
            background: #fff;
            display: block;
            border: 1px solid #ddd;
        }
        form#emailTemplateForm {
    display: flex
;
    flex-direction: column;
}
form#emailTemplateForm input, form#emailTemplateForm textarea {
    padding: 1em;
    resize: none;
    border: 1px solid #333;
    border-radius: .3em;
}
form#emailTemplateForm button {
    background: dodgerblue;
    color: #fff;
    border: none;
    height: 3em;
    border-radius: .2em;
    font-weight: 600;
}
form#emailTemplateForm button {
  display: none;
}
#sendEmailBtn {
  background: #7b40ec;
  height: 3em;
  width: 10em;
  border: none;
  box-shadow: 10px 10px 0px #000;
  cursor: pointer;
  transition: .2s;
  color: #fff;
}
#sendEmailBtn:hover {
   box-shadow: 0px 0px 0px #000;
}
h3 {
    color: #333;
    font-family: cursive;
    margin-bottom: 1em;
}
div#templateEditor {
    width: 80%;
}
label {
    margin-bottom: .5em;
}