* {
  box-sizing: border-box;
  outline: none;
  font-family: vazir !important;
}

:root {
  --bg-color: #f5f8ff;
  --main-color: #353536;
  --secondary-color: #8e92a4;
  --main-text-color: #5d606b;
  --secondary-dark-color: #9496a5;
  --tag-color-one: #e0fbf6;
  --tag-color-text-one: #58c2a9;
  --tag-color-two: #ece7fe;
  --tag-color-text-two: #8972f3;
  --tag-color-three: #fde7ea;
  --tag-color-text-three: #e77f89;
  --tag-color-four: #f7f8fc;
  --tag-color-text-four: #a0a6b5;
  --checkbox-color: #009e90;
  --button-color: #49beb7;
  --box-color: #fff1d6;
  --box-color-2: #d3e6ff;
  --box-color-3: #ffd9d9;
  --box-color-4: #daffe5;
  --task-color: #777982;
}

.top-part .count, .top-part, .item, body {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
}

body {
  margin: 0;
  justify-content: center;
  flex-direction: column;
  overflow: auto;
  width: 100%;
  height: 100vh;
  padding: 0;
  font-family: vazir;
  font-size: 16px;
  background: #e5e8ef;
}

ul {
  list-style-type: none;
  padding: 0;
  direction: rtl;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.task-manager {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.left-bar {
  background-color: #fff;
  /* width: 230px; */
  /* border-right: 1px solid #e3e7f7; */
  position: relative;
  border-radius: 20px;
  margin: 30px;
}

.left-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 265px;
}

.item {
  color: var(--main-color);
  margin-bottom: 14px;
  font-weight: 500;
  width: 100% !important;
  padding: 19px 15px;
}
.item svg {
  width: 14px;
  height: 14px;
  margin-left: 10px;
}

.category-list {
  margin-top: 0;
}
.category-list .item {
  color: #9eacbf;
}

.actions {
  padding: 12px;
  display: flex;
  justify-content: space-between;
}

.circle {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #fe4d46;
  box-shadow: 14px 0 0 0 #fbc023, 28px 0 0 0 #7dd21f;
}

.circle-2 {
  border-radius: 50%;
  width: 4px;
  height: 4px;
  background-color: #d5d7e3;
  box-shadow: -6px 0 0 0 #d5d7e3, 6px 0 0 0 #d5d7e3;
}

.right-bar {
  width: 320px;
  /* border-left: 1px solid #e3e7f7; */
  display: flex;
  flex-direction: column;
  margin: 30px;
  background: #ffff;
  border-radius: 20px;
}
.right-bar .header {
  font-size: 20px;
  color: var(--main-text-color);
  margin-left: 30px;
}

.top-part {
  padding: 30px;
  align-self: flex-end;
}
.top-part svg {
  width: 14px;
  height: 14px;
  color: var(--main-color);
  margin-right: 14px;
}
.top-part .count {
  font-size: 12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background-color: #623ce8;
  color: #fff;
  justify-content: center;
}

.right-content {
  padding: 10px 40px;
  overflow-y: auto;
  flex: 1;
}

.task-box {
  position: relative;
  border-radius: 12px;
  width: 100%;
  margin: 20px 0;
  padding: 16px;
  cursor: pointer;
  box-shadow: 2px 2px 4px 0px #ebebeb;
}
.task-box:hover {
  transform: scale(1.02);
}

.time {
  margin-bottom: 6px;
  opacity: 0.4;
  font-size: 10px;
}

.task-name {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
}

.yellow {
  background-color: var(--box-color);
}

.blue {
  background-color: var(--box-color-2);
}

.red {
  background-color: var(--box-color-3);
}

.green {
  background-color: var(--box-color-4);
}

.more-button {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #8e92a4;
  box-shadow: 0 -4px 0 0 #8e92a4, 0 4px 0 0 #8e92a4;
  opacity: 0.4;
  right: 20px;
  top: 30px;
  cursor: pointer;
}

.members {
  display: flex;
  margin-top: 14px;
}
.members img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-right: 4px;
  object-fit: cover;
}

.page-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  direction: ltr;
  height: 100%;
  /* padding: 40px; */
  margin: 30px 0 30px 30px;
  /* background: #ffff; */
  border-radius: 30px;
}
.page-content .header {
  font-size: 26px;
  color: var(--main-color);
  margin-top: 30px;
}

.content-categories {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.nav-item {
  display: none;
}

.category {
  font-weight: 500;
  color: var(--secondary-color);
  border-bottom: 1px solid #ddd;
  transition: 0.4s ease-in;
  padding: 20px 30px;
  cursor: pointer;
}

#opt-1:checked + label,
#opt-2:checked + label,
#opt-3:checked + label,
#opt-4:checked + label {
  color: var(--checkbox-color);
  border-bottom: 2px solid var(--checkbox-color);
}

.task-item {
  display: none;
}

.tasks-wrapper {
  padding: 30px 0;
  flex: 1;
  overflow-y: auto;
  height: 100%;
  padding-right: 8px;
}

.task {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 16px;
  padding-left: 30px;
  color: var(--task-color);
  font-size: 13px;
  font-weight: 500;
}
.task:hover {
  transform: translatex(2px);
}
.task label {
  cursor: pointer;
}

label .label-text {
  position: relative;
}

label .label-text:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid #ddd;
  border-radius: 2px;
  left: -24px;
  transition: 0.2s ease;
}

.task-item:checked + label .label-text:before {
  background-color: var(--checkbox-color);
  border: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  border: 1px solid var(--checkbox-color);
}

.tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
}
.tag.approved {
  background-color: var(--tag-color-one);
  color: var(--tag-color-text-one);
}
.tag.progress {
  background-color: var(--tag-color-two);
  color: var(--tag-color-text-two);
}
.tag.review {
  background-color: var(--tag-color-three);
  color: var(--tag-color-text-three);
}
.tag.waiting {
  background-color: var(--tag-color-four);
  color: var(--tag-color-text-four);
}

.upcoming {
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
  .left-bar {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  .task-manager {
    flex-direction: column;
    overflow-y: auto;
  }

  .right-bar, .page-content {
    width: 100%;
    display: block;
  }

  .tasks-wrapper {
    height: auto;
  }
}
@media screen and (max-width: 520px) {
  .page-content {
    padding: 40px 10px 0 10px;
  }

  .right-content {
    padding: 10px 16px;
  }

  .category {
    padding: 20px;
  }
}


#inputbox{
  width: calc(100% - 399px);
  bottom: 42px !important;
  margin: auto 0;
  left: 80px;
  position: absolute;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}


#input-text{
  width: calc(100% - 70px);
  border: 0;
  outline: none;
  border-radius: 20px 0 0 20px;
  padding: 15px;
  max-width: 900px;
  direction: rtl;
  height: 50px;
}

.submit-btn{
  height: 50px;
  border: 0;
  background: #ffffff;
  color: #606060;
  right: 0;
  border-radius: 0 20px 20px  0;
  /* margin-left: 10px; */
  display: flex;
  align-items: center;
}



:root {
  --primary-color: #185ee0;
  --secondary-color: #e6eef9;
}


.switch-container {
  /* position: absolute; */
  /* left: 0; */
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 28px; */
}

.tabs {
  display: flex;
  position: relative;
  background-color: #fff;
  padding: 10px;
  border-radius: 20px;
}
.tabs * {
  z-index: 2;
}

input[type=radio] {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 100px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 99px;
  color: #8b8a8a;
  cursor: pointer;
  transition: color 0.15s ease-in;
}

.notification {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: 0.75rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: 0.15s ease-in;
}

input[type=radio]:checked + label {
  color: #fff;
  font-weight: bold;
}
input[type=radio]:checked + label > .notification {
  background-color: var(--primary-color);
  color: #fff;
  display: none;
}

input[id=radio-1]:checked ~ .glider {
  transform: translateX(0);
}

input[id=radio-2]:checked ~ .glider {
  transform: translateX(100%);
}

input[id=radio-3]:checked ~ .glider {
  transform: translateX(200%);
}

.glider {
  position: absolute;
  display: flex;
  height: 30px;
  width: 100px;
  background-color: #60c1da;
  z-index: 1;
  border-radius: 10px;
  transition: 0.2s ease-out;
}

@media (max-width: 700px) {
  .tabs {
    transform: scale(0.6);
  }
}


.content{flex:1;padding:20px;/* background-color:#f0f0f0; */}

.content>div{display:none;animation:fade .3s ease;height: 100%;}

.content>div.show{display:block}

@keyframes fade{
  from{opacity:0}to{opacity:1}
}



.outputtext {
  display: none;
  height: 929px;
  overflow: hidden;
  max-width: 900px;
  margin: auto;
}


.active {
  background-color: #e5e8ef;
}



      #chat-container{
    overflow: auto;
    margin: 0px auto 75px auto;
    height: calc(100vh - 165px);
    padding: 30px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    -webkit-mask: -webkit-linear-gradient( bottom,transparent, transparent 2%, white 10%, white 90%, transparent 98%);
}
      .message-container {
            margin-bottom: 20px;
            direction: rtl;
            display: flex;
            flex-direction: column;
            align-content: space-between;
            justify-content: center;
            align-items: stretch;
        }

        .user-message {
            background-color: #60c1da;
            border-radius: 20px 20px 0 20px;
            padding: 20px;
            max-width: 580px;
            margin-top: 20px;
            width: fit-content;
            color: #fff;
        }

        .bot-message {
            background-color: #ffffff;
            border-radius: 20px 20px 20px 0;
            padding: 20px;
            margin: 15px;
            width: fit-content;
            max-width: 720px;
            align-self: end;
            color: #555555;
        }

        .typing-animation {
            display: inline-block;
            animation: typing 1s infinite;
        }

        @keyframes typing {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }




.question-btn{
    background: #ffffffbd;
    padding: 15px;
    margin: 5px;
    border-radius: 20px;
    color: #7d7d7d; 
}
.upper-container {
    display: flex;
    align-items: center;
    width: calc(100% - 437px);
    max-width: 900px;
    margin: auto;
}

#btn-container {
transition: opacity 0.3s ease;
    position: absolute;
    max-width: 889px;
    width: 100%;
    bottom: 70px !important;
    margin: auto;
    height: 70px;
    direction: rtl;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-mask: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99)), linear-gradient(to right, transparent, rgba(0, 0, 0, 0.99));
}

.hide {
  opacity: 0;
  pointer-events: none;
}