@charset "UTF-8";
#login-form {
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 10px;
}
#login-form p {
  margin-bottom: 10px;
}
#login-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
#login-form input[type=submit] {
  width: 100%;
  padding: 10px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#login-form input[type=submit]:hover {
  background-color: #005177;
}

#login-form input[type=text],
#login-form input[type=password] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.image-upload-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  max-width: 400px;
  margin: 0;
  background-color: #f9f9f9;
  cursor: pointer;
}

.upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
}

.upload-label i {
  font-size: 18px;
  color: #007bff;
}

/* Tăng vùng click để bao phủ toàn bộ vùng */
.upload-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.upload-input {
  display: none;
}

.file-name {
  font-size: 14px;
  color: #666;
}

.remove-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
}

.remove-btn:hover {
  background-color: #ff3333;
}

#create_video {
  display: inline-block;
  width: 150px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

#video-text {
  display: flex;
  flex-direction: column;
}

.video_modal__wr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.vaf {
  gap: 30px;
  display: flex;
  flex-direction: row;
  max-width: 100%;
}
.vaf #video-ai-form {
  width: 100%;
}
.vaf #video_modal {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}
.vaf .video_modal__frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.vaf #video_preview {
  width: 100%;
  max-width: 450px;
}
.vaf #download_video {
  width: auto; /* Chiều rộng dựa vào nội dung */
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  max-width: none; /* Loại bỏ giới hạn max-width nếu cần */
  flex-shrink: 0; /* Ngăn thẻ bị co lại */
  flex-grow: 0; /* Ngăn thẻ mở rộng */
  text-decoration: auto;
  text-align: center;
}

div {
  box-sizing: border-box;
}

.lds-hourglass,
.lds-hourglass:after {
  box-sizing: border-box;
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}
.video_modal__loading {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vm_wrap {
  padding: 30px;
  background: #fff;
  z-index: 999;
}

.vml_content {
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/*# sourceMappingURL=style.css.map */
