.yt-info-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.yt-info-header {
  text-align: center;
  margin-bottom: 30px;
}

.yt-info-header h3 {
  color: white;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.yt-info-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 25px;
}

.yt-url-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  background: #f8f9fa;
}

.yt-url-input:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.button-container {
  text-align: center;
}

.yt-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  position: relative;
  overflow: hidden;
}

.yt-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.yt-btn:hover:before {
  left: 100%;
}

.yt-btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.yt-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.yt-btn-primary:disabled,
.yt-btn-primary.disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.yt-btn-primary:disabled:hover,
.yt-btn-primary.disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.yt-btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.yt-btn-copy {
  background: linear-gradient(45deg, #56ab2f, #a8e6cf);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  margin-left: 10px;
}

.yt-btn-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(86, 171, 47, 0.4);
}

.yt-btn-download {
  background: linear-gradient(45deg, #ff6b6b, #ffa726);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  margin-right: 10px;
}

.yt-btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.yt-info-results {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.result-section h4 {
  color: #333;
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.info-item {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.info-item label {
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.info-content span,
.info-content div {
  flex: 1;
  min-width: 200px;
  word-wrap: break-word;
  line-height: 1.6;
}

.thumbnail-content {
  flex-direction: column;
  align-items: center;
}

#video-thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.thumbnail-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.yt-loading {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.yt-error {
  background: #ff6b6b;
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .yt-info-container {
    padding: 20px;
    margin: 10px;
  }

  .yt-info-form {
    padding: 20px;
  }

  .info-content {
    flex-direction: column;
  }

  .yt-btn-copy,
  .yt-btn-download {
    margin: 5px 0;
  }

  .thumbnail-buttons {
    flex-direction: column;
    width: 100%;
  }

  .thumbnail-buttons .yt-btn {
    width: 100%;
    margin: 5px 0;
  }
}

/* Copy success animation */
.copy-success {
  animation: copySuccess 0.3s ease;
}

@keyframes copySuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    background: #4caf50;
  }
  100% {
    transform: scale(1);
  }
}
