@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@font-face {
  font-family: 'Inter-Bold';
  src: url('Inter-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

body {
  background-color: #1A1A1A;
}

/*load*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlayend {
    transform: translateY(100%);
    transition: all 1s;
    font-family: 'Inter-Bold', sans-serif;
}

/*login Msg*/

.LoginMsg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100px);
    z-index: 1001;
}

/*section logo*/

.logo {
    background-color:  #0D0D0D;
}

.logo-title {
    font-family: 'Inter-Bold', sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    padding: 40px 0;
    text-align: center;
}

.logo-title-to {
    color: #4EA8DE;
}

.logo-title-do {
    color: #5E60CE;
}

/*section bar*/

.bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    background: linear-gradient(#0D0D0D 50%, #1A1A1A 50%);
}

.bar input[type="text"] {
    color: #fff;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 190%;
    padding: 20px 0;
    padding-left: 10px;
    min-width: 30vw;
    border-radius: 8px;
    border: 1px solid #0D0D0D;
    background: #262626;
    outline: none;
}

.bar input[type="text"] :placeholder-shown {
    color: #808080;
}

.submit-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    color: #F2F2F2;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    border-radius: 8px;
    background: #1E6F9F;
    border: none;
    padding: 16px;
    cursor: pointer;
    transition: all 0.1s;
}

.submit-button-focus {
    scale: 0.95;
    transition: all 0.1s;
}

/*section todo*/

.todo {
    background-color: #1A1A1A;
    padding-top: 30px;
}

.list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.todo-container {
    border-radius: 8px;
    border: 1px solid #333;
    background: #262626;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.06);
    width: 90vw;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.notext {
    color: #808080 !important;
    text-decoration: line-through;
}

.todo-container p {
    color: var(--Gray-100, #F2F2F2);
    font-family: 'Inter-Bold', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    width: 55%;
    word-wrap: break-word;
}

.alreadydone {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

#todoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
  .checkbox {
    position: relative;
  }
  .checkbox > svg {
    position: absolute;
    top: -130%;
    left: -170%;
    width: 110px;
    pointer-events: none;
  }
  .checkbox * {
    box-sizing: border-box;
  }
  .checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    margin: 0;
  }
  .checkbox input[type="checkbox"]:focus {
    outline: 0;
  }
  .checkbox .cbx {
    width: 24px;
    height: 24px;
    top: calc(50vh - 12px);
    left: calc(50vw - 12px);
  }
  .checkbox .cbx input {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border: 2px solid #bfbfc0;
    border-radius: 50%;
  }
  .checkbox .cbx label {
    width: 24px;
    height: 24px;
    background: none;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-filter: url("#goo-12");
    filter: url("#goo-12");
    transform: trasnlate3d(0, 0, 0);
    pointer-events: none;
  }
  .checkbox .cbx svg {
    position: absolute;
    top: 5px;
    left: 4px;
    z-index: 1;
    pointer-events: none;
  }
  .checkbox .cbx svg path {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 19;
    stroke-dashoffset: 19;
    transition: stroke-dashoffset 0.3s ease;
    transition-delay: 0.2s;
  }
  .checkbox .cbx input:checked + label {
    animation: splash-12 0.6s ease forwards;
  }
  .checkbox .cbx input:checked + label + svg path {
    stroke-dashoffset: 0;
  }
  @-moz-keyframes splash-12 {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @-webkit-keyframes splash-12 {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @-o-keyframes splash-12 {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @keyframes splash-12 {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }

  .divforupdate {
    display: flex;
    gap: 10px;
  }

/*modif action*/

.modifiTodo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.modifiTodo input[type="text"] {
    color: #fff;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    padding: 5px;
    margin-left: 10px;
    min-width: 70%;
    border-radius: 8px;
    border: 1px solid #808080;
    background: #262626;
    outline: none;
}

.modifiTodo svg {
  min-width: 10%;
}

/*accout box*/

.accoutBoxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.accoutBoxOverlayDiv {
  padding: 50px 20px;
  background-color: #0D0D0D;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 100;
  flex-direction: column;
}

.accoutBoxOverlayDivInfo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.accoutBoxOverlayDivInfo img {
  border-radius: 100%;
  height: 150px;
  width: 150px;
  border: 3px solid #fff;
}

.accoutBoxOverlayDivInfo h2 {
  font-family: 'Inter-Bold', sans-serif;
  font-size: 60px;
  color: #fff;
}

.accoutBoxOverlayDivButton {
  width: 90%;
  padding: 15px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Inter-Bold', sans-serif;
  font-size: 26px;
  outline: none;
}

.accoutBoxOverlayDivButton:active {
  scale: 0.95;
  outline: none;
  transition: all 0.1s;
}

.accoutBoxOverlayDivButton1 {
  width: 90%;
  padding: 15px 10px;
  border-radius: 6px;
  border: none;
  background-color: #2c86b9;
  color: #fff;
  cursor: pointer;
  font-family: 'Inter-Bold', sans-serif;
  font-size: 26px;
  outline: none;
  margin-bottom: -20px;
}

.accoutBoxOverlayDivButton1:active {
  scale: 0.95;
  outline: none;
  transition: all 0.1s;
}

/*accout*/

.accoutBox {
  position: fixed;
  top: 0;
  right: 0;
  margin-top: 10px;
  margin-right: 10px;
  z-index: 15;
  cursor: pointer;
}

.accoutBox img {
  height: 150px;
  width: 150px;
  border-radius: 100%;
  border: 3px solid #fff;
}

/* other */

.updateanimation {
  animation: spin 2s linear infinite;
  width: 40px;
  height: 40px;
}
.datepicker-toggle {
display: inline-block;
position: relative;
width: 64px;
height: 64px;
}
.datepicker-toggle-button {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.datepicker-input {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
box-sizing: border-box;
}
.datepicker-input::-webkit-calendar-picker-indicator {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
cursor: pointer;
}

/* list */

.list-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 40%;
  position: fixed;
  background: #1A1A1A;
  height: 100%;
  z-index: 10;
  transition: all 0.5s;
  transform: translateX(-100%);
}

.animation-list {
  transform: translateX(0);
  transition: all 0.5s;
}

.navsvg {
  position: fixed;
  top: 0;
  left: 0;
  cursor: pointer;
  padding: 20px;
  height: 80px;
}

.list-box-div {
display: flex;
flex-direction: column;
}

.list-box-div-title {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}

.list-box-div-title-h2 {
font-size: 52px;
color: #fff;
font-family: 'Inter-Bold', sans-serif;
}

.list-box-div-title-button {
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
padding: 5px 10px;
cursor: pointer;
}

.list-box-div-title-button:hover {
background-color: #0056b3;
}

.list-box-div-list {
display: flex;
flex-direction: column;
gap: 5px;
}

.list-name p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 34px;
}

.list-container {
  cursor: pointer;
  padding: 5px;
  transition: all 0.1s;
}

.list-container:hover {
  background-color: #262626;
  border-radius: 8px;
  border: none;
}

.list-container:active {
  scale: 0.95;
  transition: all 0.1s;
}

/* create list */
.createlist {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 70%;
z-index: 100;
}

.createlist-div {
display: flex;
flex-direction: column;
gap: 25px;
}

.createlist-div-title-h2 {
font-size: 44px;
color: #333;
text-align: center;
font-family: 'Inter-Bold', sans-serif;
}

.createlist-div-input input {
width: 100%;
font-size: 28px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-family: 'Inter-Bold', sans-serif;
}

.createlist-div-button-button {
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
width: 100%;
font-family: 'Inter-Bold', sans-serif;
font-size: 32px;
}

.createlist-div-button-button:hover {
background-color: #0056b3;
}

.curent-selected {
  border: none;
  border-radius: 8px;
  background-color: #ffffff !important;
}

.curent-selected p {
  color: #0e0e0e !important;
}