.indicateur-enregistrement {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  width: fit-content;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 16px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot-rouge {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.mode-enregistrement {
  font-size: 12px;
  color: #aaa;
}

.btn-pause-enregistrement {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 16px;
  flex-shrink: 0;
  padding: 0;
}

.btn-pause-enregistrement:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.btn-pause-enregistrement.paused {
  background: rgba(76, 175, 80, 0.2);
  border-color: #4caf50;
}

.btn-pause-enregistrement.paused:hover {
  background: rgba(76, 175, 80, 0.3);
}

.indicateur-enregistrement.paused {
  opacity: 0.7;
}

.indicateur-enregistrement.paused .dot-rouge {
  animation: pulse-paused 2s infinite;
}

@keyframes pulse-paused {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.flash-snapshot {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 99999;
  pointer-events: none;
  animation: flashEffect 0.3s ease;
}

@keyframes flashEffect {
  0% { opacity: 0; }
  50% { opacity: 0.8; }
  100% { opacity: 0; }
}

.notification-snapshot,
.notification-pip,
.notification-enregistrement {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease;
  z-index: 9999;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.controle-volume-contact {
  margin: 15px 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.controle-volume-contact label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.slider-volume {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-volume-input {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
}

.slider-volume-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-volume-input::-webkit-slider-thumb:hover {
  background: #0056b3;
  transform: scale(1.1);
}

.slider-volume-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  border: none;
}

.icone-volume-min,
.icone-volume-max {
  font-size: 20px;
}

.valeur-volume {
  min-width: 45px;
  text-align: right;
  font-weight: 600;
  color: #007bff;
}

.selecteur-mode-enregistrement {
  margin: 15px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.selecteur-mode-enregistrement label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
}

.options-mode {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-mode {
  display: flex;
  align-items: center;
  padding: 10px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-mode:hover {
  border-color: #007bff;
  background: #f8f9fa;
}

.option-mode input[type="radio"] {
  margin-right: 10px;
}

.option-mode.active {
  border-color: #007bff;
  background: #e7f3ff;
}

/* Menus compacts pour options */
.menu-options-enregistrement,
.menu-options-video,
.menu-options-partage {
  position: relative;
  display: inline-block;
  margin: 5px;
}

.btn-menu-options {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-menu-options:hover {
  background: white;
  border-color: #007bff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-menu-options i {
  font-size: 14px;
}

.btn-engrenage {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.btn-engrenage:hover {
  background: rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

.btn-engrenage i {
  font-size: 18px !important;
  margin: 0 !important;
}

.mode-actuel {
  font-weight: 500;
  color: #333;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-deroulant {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 200px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
}

.option-menu {
  padding: 10px 15px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  transition: all 0.2s;
  white-space: nowrap;
}

.option-menu:first-child {
  border-radius: 5px 5px 0 0;
}

.option-menu:last-child {
  border-radius: 0 0 5px 5px;
}

.option-menu:hover {
  background: #f0f0f0;
  color: #007bff;
}

.option-menu.active {
  background: #e7f3ff;
  color: #007bff;
  font-weight: 600;
}

.option-menu.active::before {
  content: "✓ ";
  font-weight: bold;
}

.btn-pip,
.btn-snapshot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-pip:hover,
.btn-snapshot:hover {
  background: #f8f9fa;
  border-color: #007bff;
}

.btn-pip.actif {
  background: #007bff;
  color: white;
  border-color: #007bff;
}
