/* MODAL DE NOTIFICAÇÃO CELULAR & TABLET (WEB PUSH) - VISUAL REFINADO */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.notify-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (min-width: 640px) {
  .notify-modal-backdrop {
    align-items: center;
  }
}

.notify-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.notify-modal-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 460px;
  padding: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .notify-modal-card {
    border-radius: 20px;
    transform: scale(0.94);
  }
}

.notify-modal-backdrop.active .notify-modal-card {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .notify-modal-backdrop.active .notify-modal-card {
    transform: scale(1);
  }
}

.notify-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.notify-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.notify-modal-title svg {
  width: 20px;
  height: 20px;
  color: #60a5fa;
}

.notify-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.notify-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.notify-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.notify-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 8px 13px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  text-align: left;
}

.notify-chip:hover, .notify-chip:active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  transform: translateY(-1px);
}

.notify-input-group {
  margin-bottom: 16px;
}

.notify-input-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.notify-textarea {
  width: 100%;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #f8fafc;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  resize: none;
  min-height: 85px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.notify-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: #0d1424;
}

.notify-actions {
  display: flex;
  gap: 12px;
}

.notify-send-btn {
  flex: 1;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.notify-send-btn svg {
  width: 18px;
  height: 18px;
}

.notify-send-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.notify-send-btn:active {
  transform: translateY(0);
}

/* Toast de Confirmação */
.notify-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-35px);
  background: #059669;
  color: #fff;
  padding: 11px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notify-toast svg {
  width: 18px;
  height: 18px;
}

.notify-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Bloco de Ativação no Aparelho */
.device-notify-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-notify-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.device-notify-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.device-notify-icon svg {
  width: 18px;
  height: 18px;
}

.device-notify-text {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.device-notify-text strong {
  display: block;
  font-size: 0.86rem;
  color: #f8fafc;
}

.device-notify-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
}

.device-notify-btn:hover {
  background: #1d4ed8;
}

.device-notify-badge-active {
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.device-notify-badge-active .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
