#vd-input-container {
  display: flex;
}

#vd-url {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  margin: 0;
  border-radius: 5px 0 0 5px;
  background-color: #ecf4f3;
  border: none;
}

#vd-submit {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

#vd-result-container {
  position: relative;
}

#vd-result-container p {
  margin: 0;
}

#vd-result-container .loading {
  text-align: center;
  padding: 20px 0 0;
}

#vd-result-container .error {
  text-align: center;
  padding: 20px 0 0;
  color: #f44336;
}

.vd-response-head {
  padding: 20px 0;
}

.vd-response-head h3 {
  margin-bottom: 10px;
}

.vd-response-head p .platform {
  color: #2a9d8f;
  font-weight: 700;
}

.vd-results {
  display: flex;
  gap: 50px;
}

.vd-thumbnail {
  width: 50%;
  flex: 1;
  overflow: hidden;
}

.vd-formats-wrapper {
  width: 50%;
  flex: 1;
  position: relative;
}

.vd-formats-title {
  margin-bottom: 10px;
  text-align: center;
}

.vd-formats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vd-formats-list li .vd-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.vd-formats-list li:nth-child(even) {
  background-color: #eee;
}

.vd-download-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  font-weight: 600;
  color: #4caf50;
  background-color: transparent;
  text-transform: capitalize;
  transition: color 0.3s ease;
  cursor: pointer;
}

.vd-download-btn:hover {
  background-color: transparent;
  color: #ff5722;
}

.vd-download-btn svg {
  width: 30px;
  height: 25px;
}

.vd-download-btn svg path {
  stroke: #ff5722;
  stroke-width: 2px;
}

.vd-process-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgb(255 255 255 / 95%);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 0 4px rgb(255 255 255 / 100%);
}

.vd-convert-option-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  text-align: center;
  padding: 10px 10px 15px;
  background-color: #f0f8ff;
}

.m3u8-option {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.m3u8-option a {
  background-color: #03a9f4;
  text-decoration: none !important;
  color: #fff;
  padding: 2px 15px 4px;
  font-size: 14px;
  font-weight: 600;
}

.vd-convert-option-wrapper .error {
  padding: 0;
}

@media screen and (max-width: 992px) {
  .vd-results {
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  #vd-container {
    flex-direction: column;
    gap: 10px;
  }
  #vd-url {
    border-radius: 5px;
  }
  #vd-submit {
    border-radius: 5px;
  }
  .vd-results {
    flex-direction: column;
  }
  .vd-thumbnail {
    width: 100%;
  }
  .vd-formats-wrapper {
    width: 100%;
  }
  .vd-formats-list li {
    padding: 10px;
  }
}

@media screen and (max-width: 767px) {
	#vd-input-container {
		flex-direction: column;
		gap: 10px;
	}
}
