/**
 * @file
 * Styles for Product Video Watch functionality.
 */

/* Email Capture Modal Overlay */
#video-email-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal Content */
#video-email-modal .modal-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  transition: max-width 0.3s ease; /* Smooth transition for video resize */
}

/* Modal Header */
#video-email-modal .modal-header {
  background: linear-gradient(135deg, #af2228 0%, #af2228 100%);
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 12px 12px 0 0;
  position: relative;
}

#video-email-modal .modal-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

/* Modal Body */
#video-email-modal .modal-body {
  padding: 30px 25px;
}

#video-email-modal .modal-body p {
  margin: 0 0 20px 0;
  font-size: 16px;
  color: #333333;
  line-height: 1.5;
}

#video-email-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#video-email-input:focus {
  outline: none;
  border-color: #af2228;
  box-shadow: 0 0 0 3px rgba(74, 123, 167, 0.1);
}

/* Error Message */
.video-error-message {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

/* Modal Footer */
#video-email-modal .modal-footer {
  padding: 20px 25px;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #video-email-modal .modal-content {
    margin: 20px;
    max-width: 100%;
  }

  #video-email-modal .modal-header h3 {
    font-size: 20px;
  }

  #video-email-modal .modal-footer {
    flex-direction: column;
  }
}

/* Video Button Styling (Match brochure but smaller) */
.video-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  background: #113355; /* Differentiating color for video */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.video-watch-btn:hover {
  background: #0d2844;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.video-watch-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
