@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", serif;
}
html,
body {
  height: 100%;
  width: 100%;
}
.wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.button {
  padding: 12px 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: black;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  outline: none;
  border: 1px solid black;
  cursor: pointer;
}
.button:hover {
  background-color: rgba(0, 0, 0, 0.753);
}
.toast-container {
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  background-color: #fff;
  border-radius: 6px;
  width: 100%;
  max-width: 405px;
  border: 1px solid #e5e7eb;
  margin: 12px;
  position: absolute;
  bottom: 12px;
  right: 12px;
}
.toast-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-icon,
.close-btn {
  height: 2.25rem;
  width: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
.close-icon:hover,
.close-btn:hover {
  background-color: #e5e5e5;
}
.toast-container:hover {
  .close-icon,
  .close-btn {
    opacity: 1;
  }
}
.toast-title {
  font-size: 18px;
  font-weight: 600;
}
.toast-content-wrapper {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toast-video-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: #858585;
  font-weight: 400;
}
.badge {
  padding: 2px 4px;
  background-color: black;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  min-height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 23px;
}
.resolution {
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-title {
  font-size: 14px;
  line-height: 1.25rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 300px;
  width: 100%;
  margin-bottom: 0.5rem;
}
.action-badge {
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 0.25rem;
  width: 70px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  background-color: #db9a391f;
  color: #db9a39;
}
.toast-content {
  width: 66%;
}
.progress-container {
  position: relative;
  width: 48px;
  height: 48px;
}
svg {
  transform: rotate(-90deg);
}
circle {
  fill: transparent;
  stroke-width: 4;
}
.bg-circle {
  stroke: #f2f2f2;
}
.progress-circle {
  stroke: #ffb343;
  stroke-linecap: round;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.2s linear;
}
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: black;
}
.close-btn {
  display: none;
}
.progress-container:hover .progress-text span {
  display: none;
}
.progress-container:hover .close-btn {
  display: flex;
}
.converting {
  background-color: #3b83f613;
  color: blue;
}
.cancel {
  background-color: #e53a4f;
  color: white;
}
.done {
  background-color: #dcfce7;
  color: #00a261;
}
