/* =====================================================
   SISTEMA DE NOTIFICAÇÕES BLUE CONCURSOS
   
   USO: notifSucesso('mensagem'), notifErro('mensagem'),
        notifWarning('mensagem'), notifInfo('mensagem')
===================================================== */

.bc-notificacao {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  animation: notifSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-left: 4px solid #1E40AF;
}

@keyframes notifSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.bc-notificacao.saindo {
  animation: notifSlideOut 0.3s ease forwards;
}

@keyframes notifSlideOut {
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ============ TIPOS DE NOTIFICAÇÃO ============ */

.bc-notificacao.sucesso {
  border-left-color: #10b981;
}

.bc-notificacao.erro {
  border-left-color: #ef4444;
}

.bc-notificacao.warning {
  border-left-color: #f59e0b;
}

.bc-notificacao.info {
  border-left-color: #3b82f6;
}

/* ============ ÍCONE ============ */

.bc-notificacao-icone {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bc-notificacao.sucesso .bc-notificacao-icone {
  color: #10b981;
}

.bc-notificacao.erro .bc-notificacao-icone {
  color: #ef4444;
}

.bc-notificacao.warning .bc-notificacao-icone {
  color: #f59e0b;
}

.bc-notificacao.info .bc-notificacao-icone {
  color: #3b82f6;
}

/* ============ CONTEÚDO ============ */

.bc-notificacao-conteudo {
  flex: 1;
}

.bc-notificacao-titulo {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 15px;
}

.bc-notificacao-mensagem {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

/* ============ BOTÃO FECHAR ============ */

.bc-notificacao-fechar {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.bc-notificacao-fechar:hover {
  color: #475569;
}

/* ============ RESPONSIVO - MOBILE ============ */

@media (max-width: 768px) {
  .bc-notificacao {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
}

/* ============ MÚLTIPLAS NOTIFICAÇÕES ============ */

.bc-notificacao:nth-child(2) {
  top: calc(20px + 80px);
}

.bc-notificacao:nth-child(3) {
  top: calc(20px + 160px);
}

.bc-notificacao:nth-child(4) {
  top: calc(20px + 240px);
}

@media (max-width: 768px) {
  .bc-notificacao:nth-child(2) {
    top: calc(10px + 70px);
  }
  
  .bc-notificacao:nth-child(3) {
    top: calc(10px + 140px);
  }
  
  .bc-notificacao:nth-child(4) {
    top: calc(10px + 210px);
  }
}