/**
 * Mini-Interactions Modal Styles for Meets Tutor
 * 
 * Adapted from: /frontend/tutor/styles/mini-interactions.css (lines 310-445)
 * 
 * Simplifications:
 * - Only modal styles (no panel/tiles)
 * - Full-screen overlay within shared screen
 * - Matches meets UI aesthetic
 * 
 * Changes:
 * - Selectors updated with meets- prefix
 * - Colors match Aurora Neutrals + Electric Accents
 * - Modal fills entire screen (not 90%)
 */

/* ============================================
   INTERACTION MODAL (FULL-SCREEN OVERLAY)
   ============================================ */

.meets-mini-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15; /* Above blackboard (10) */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meets-mini-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-container {
  position: relative;
  width: 95%;
  height: 95%;
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 20px;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

.modal-content {
  flex: 1;
  overflow: hidden;
  padding: 0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

/* Modal content iframe styling */
.modal-content iframe {
  border: none;
  width: 100%;
  height: 100%;
  background: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .modal-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-title {
    font-size: 18px;
  }
}

