/* Modal & Overlay Styles */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  border-left: 3px solid var(--yellow-primary);
}

.modal-card.width-md { max-width: 600px; }
.modal-card.width-lg { max-width: 800px; }
.modal-card.width-xl { max-width: 1050px; }

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Alert Notification Boxes */
.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.access-notice-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(250, 204, 21, 0.08);
  border: 1px dashed rgba(250, 204, 21, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--yellow-primary);
  margin-top: 0.75rem;
}

/* Responsive YouTube Container */
.video-container-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.video-container-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.z-top {
  z-index: 2000 !important;
}

/* Quick Demo Badges */
.demo-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.btn-demo-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-muted);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-demo-tag:hover {
  background: rgba(250, 204, 21, 0.1);
  color: var(--yellow-primary);
  border-color: var(--yellow-primary);
}
