/* 💛 INTERPRETER PANEL STYLES */

/* PRE-CALL MODAL */
.interpreter-pre-call-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pre-call-modal {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.pre-call-header {
  padding: 20px;
  border-bottom: 1px solid #E1E5E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pre-call-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.btn-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.btn-close:hover {
  color: #333;
}

.pre-call-content {
  padding: 20px;
}

.setting-group {
  margin-bottom: 20px;
}

.setting-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.setting-group select,
.setting-group input,
.setting-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #E1E5E9;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

.setting-group textarea {
  resize: vertical;
}

.setting-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-row label {
  margin: 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.pre-call-actions {
  padding: 20px;
  border-top: 1px solid #E1E5E9;
  display: flex;
  gap: 12px;
}

.pre-call-actions .btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.pre-call-actions .btn:hover {
  transform: scale(1.05);
}

.btn-cancel {
  background: #E1E5E9;
  color: #333;
}

.btn-start {
  background: #28A745;
  color: white;
}

/* IN-CALL PANEL */
.interpreter-in-call-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: white;
  z-index: 2000;
  box-shadow: -4px 0 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .interpreter-in-call-panel {
    width: 100%;
  }
}

.in-call-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.in-call-header {
  padding: 20px;
  background: #006D8F;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.in-call-header h2 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
}

.in-call-header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.btn-minimize {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 1;
}

.btn-minimize:hover {
  background: rgba(255,255,255,0.3);
}

/* LANGUAGE BADGES */
.lang-badges {
  padding: 12px 20px;
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid #E1E5E9;
}

.lang-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lang-badge.lang-a {
  background: #D4EDDA;
  color: #155724;
}

.lang-badge.lang-b {
  background: #CCE5FF;
  color: #004085;
}

.lang-arrow {
  font-size: 16px;
  color: #999;
}

/* TRANSCRIPT */
.transcript-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #F9FAFB;
}

.transcript-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 15px;
}

.transcript-bubble {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.transcript-bubble.bubble-me {
  border-left: 4px solid #006D8F;
}

.transcript-bubble.bubble-peer {
  border-left: 4px solid #28A745;
}

.transcript-bubble.highlighted {
  background: #FFF9E6;
  border-color: #FFD700;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bubble-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.bubble-time {
  font-size: 11px;
  color: #999;
}

.bubble-text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 8px;
}

.bubble-translation {
  font-size: 14px;
  color: #006D8F;
  font-style: italic;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E1E5E9;
}

.bubble-actions {
  display: flex;
  gap: 8px;
}

.bubble-btn {
  background: none;
  border: 1px solid #E1E5E9;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.bubble-btn:hover {
  background: #F9FAFB;
  border-color: #006D8F;
}

/* CONTROLS */
.in-call-controls {
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #E1E5E9;
  display: flex;
  gap: 12px;
}

.control-btn {
  flex: 1;
  padding: 14px 12px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.control-btn:hover {
  transform: translateY(-2px);
}

.btn-mute {
  background: #6C757D;
  color: white;
}

.btn-mute.muted {
  background: #DC3545;
}

.btn-toggle-mode {
  background: #006D8F;
  color: white;
}

.btn-end {
  background: #DC3545;
  color: white;
}

.btn-end:hover {
  background: #C82333;
}

