.notifications-alert {
  position: absolute;
  top: 20px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.15);
  font-size: 16px;
  max-width: 500px;
  min-width: 350px;
  z-index: 1000;
  font-weight: 500;
  animation: glowEffect 3s infinite alternate;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Efeito de brilho sutil em azul */
@keyframes glowEffect {
  0% {
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
  }

  100% {
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.6);
  }
}

/* Ícone azul destacado */
.alert-icon {
  font-size: 22px;
  color: #0d47a1;
  animation: pulse 1.5s infinite alternate;
}

/* Efeito de pulso no ícone */
@keyframes pulse {
  0% {
    transform: scale(1);
    color: #1976d2;
  }

  100% {
    transform: scale(1.1);
    color: #0d47a1;
  }
}

/* Botão de fechar melhorado com alinhamento centralizado */
.alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1976d2;
  transition: transform 0.3s ease, color 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.alert-close i {
  font-size: 18px;
  line-height: 1;
}

.alert-close:hover {
  color: #a10d0d;
  transform: scale(1.2);
}

/* Transição Vue melhorada para entrada com bounce */
.fade-alert-enter-active {
  animation: bounceIn 0.6s ease-out;
}

.fade-alert-leave-active {
  animation: fadeOut 0.4s ease-in;
}

/* Animação de bounce ao entrar */
@keyframes bounceIn {
  0% {
    transform: translateY(-30px) scale(0.9);
    opacity: 0;
  }

  50% {
    transform: translateY(5px) scale(1.02);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Efeito fade-out na saída */
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}


.notifications-app-container {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: auto;
  margin: 0 auto;
  background-color: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.notifications-navigation-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #ffffff;
  border-bottom: 1px solid #eaedf0;
}

.notifications-tabs {
  display: flex;
  gap: 16px;
}

.notifications-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
  position: relative;
}

.notifications-tab:hover {
  background-color: #f1f5f9;
  color: #334155;
}

.notifications-active {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.notifications-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 20px;
  background-color: #f3f4f6;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-container.is-active {
  width: 240px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.search-icon {
  position: absolute;
  left: 0;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.search-icon i {
  font-size: 18px;
  color: #6b7280;
  transition: color 0.3s ease;
}

.search-container.is-active .search-icon i {
  color: #192830;
}

.notifications-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  width: auto;
  /* Removendo largura total */
  margin: 10px auto;
  /* Centraliza o botão */
}

.notifications-load-more:hover {
  background-color: #0056b3;
}



.search-input {
  position: absolute;
  left: 40px;
  height: 100%;
  width: calc(100% - 50px);
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #192830;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-container.is-active .search-input {
  opacity: 1;
}

.search-close {
  position: absolute;
  right: 10px;
  height: 40px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.search-close i {
  font-size: 16px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.search-close:hover i {
  color: #0594e6;
}

/* Focus styles */
.search-container.is-active:focus-within {
  border-color: #0594e6;
  box-shadow: 0 0 0 2px rgba(69, 158, 206, 0.1);
}

/* Hover effect */
.search-container:hover {
  background-color: #e5e7eb;
}

.search-container.is-active:hover {
  background-color: #fff;
}


.notifications-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eaedf0;
}

.notifications-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notifications-count {
  font-size: 14px;
  color: #64748b;
}

.notifications-clear-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  background-color: #fee2e2;
  color: #ef4444;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notifications-clear-all:hover {
  background-color: #fecaca;
}

.notifications-content-container {
  padding: 24px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notifications-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.notifications-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.notifications-spinner {
  color: #3b82f6;
  font-size: 32px;
  margin-bottom: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.notifications-list-wrapper {
  flex: 1;
  max-height: 500px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 8px;
  max-height: 100%;
  flex: 1;
}

.notifications-item {
  display: flex;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.notifications-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.notifications-unread {
  background-color: #f0f9ff;
  border-left: 4px solid #0ea5e9;
}

.notifications-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-right: 20px;
  background-color: #f1f5f9;
  font-size: 20px;
}

.notifications-icon.bg-primary-soft {
  background-color: #eff6ff;
  color: #3b82f6;
}

.notifications-icon.bg-secondary-soft {
  background-color: #f5f3ff;
  color: #8b5cf6;
}

.notifications-icon.bg-info-soft {
  background-color: #f0f9ff;
  color: #0ea5e9;
}

.notifications-icon.bg-success-soft {
  background-color: #ecfdf5;
  color: #10b981;
}

.notifications-icon.bg-warning-soft {
  background-color: #fffbeb;
  color: #f59e0b;
}

.notifications-icon.bg-danger-soft {
  background-color: #fef2f2;
  color: #ef4444;
}

.notifications-content {
  flex: 1;
}

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

.notifications-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 16px;
}

.notifications-time {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
}

.notifications-description {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 0 2px;
}

.notifications-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notifications-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background-color: transparent;
}

.notifications-download {
  color: #0ea5e9;
  background-color: #f0f9ff;
}

.notifications-download:hover {
  background-color: #e0f2fe;
}

.notifications-task {
  color: #8b5cf6;
  background-color: #f5f3ff;
  text-decoration: none;
}

.notifications-task:hover {
  background-color: #ede9fe;
}

.notifications-read {
  color: #10b981;
  background-color: #ecfdf5;
}

.notifications-read:hover {
  background-color: #d1fae5;
}

.notifications-remove {
  color: #ef4444;
  background-color: #fef2f2;
}

.notifications-remove:hover {
  background-color: #fee2e2;
}

.notifications-empty-state {
  padding: 60px;
  text-align: center;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border-radius: 10px;
  border: 1px dashed #e2e8f0;
  margin: 20px 0;
}

.notifications-empty-state p {
  margin: 0;
  font-size: 16px;
}

.mr-1 {
  margin-right: 4px;
}

.mr-2 {
  margin-right: 8px;
}

.mr-3 {
  margin-right: 12px;
}

.mb-3 {
  margin-bottom: 12px;
}

.text-4xl {
  font-size: 36px;
}

/* Responsividade */
@media (max-width: 768px) {
  .notifications-navigation-container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .notifications-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .notifications-search-container {
    width: 100%;
  }

  .notifications-content-container {
    padding: 16px;
  }

  .notifications-item {
    flex-direction: column;
  }

  .notifications-icon {
    margin-right: 0;
    margin-bottom: 16px;
    align-self: flex-start;
  }

  .notifications-actions {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
  }

  .notifications-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
  }

  .notifications-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .notifications-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .notifications-clear-all {
    align-self: flex-end;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .notifications-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .notifications-btn {
    flex-basis: calc(50% - 8px);
    justify-content: center;
  }
}
