.notification-center {
  position: relative;
}

/* ===== BELL BUTTON ===== */
.bell-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
  color: #64748b;

  &:hover {
    background: rgba(37, 99, 235, .08);
    color: #2563eb;
  }

  &.has-notifications {
    color: #2563eb;
  }

  .ring {
    animation: ring 2s ease-in-out infinite;
  }
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  5%, 15% { transform: rotate(-12deg); }
  10%, 20% { transform: rotate(12deg); }
  25% { transform: rotate(0); }
}

.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: .6875rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, .4);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, .08),
    0 0 0 1px rgba(0, 0, 0, .03),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  z-index: 1000;
  overflow: hidden;

  @media (max-width: 480px) {
    position: fixed;
    top: 60px;
    right: 8px;
    left: 8px;
    width: auto;
  }
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  background: rgba(248, 250, 252, .6);
  border-bottom: 1px solid rgba(226, 232, 240, .5);

  h4 {
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(226, 232, 240, .6);
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all .2s;

    &:hover {
      background: rgba(37, 99, 235, .08);
      border-color: rgba(37, 99, 235, .3);
      color: #2563eb;
    }

    &:disabled {
      opacity: .5;
      cursor: not-allowed;
    }

    app-icon {
      font-size: 1rem;
    }

    .spin {
      animation: spin .8s linear infinite;
    }
  }
}

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

.dropdown-content {
  max-height: 400px;
  overflow-y: auto;
}

/* ===== SECTIONS ===== */
.section {
  padding: .5rem 0;

  & + .section {
    border-top: 1px solid #e2e8f0;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .03em;

  app-icon {
    font-size: .875rem;
  }

  .count {
    margin-left: auto;
    background: #e2e8f0;
    color: #475569;
    padding: .125rem .5rem;
    border-radius: 10px;
    font-weight: 700;
  }
}

/* ===== NOTIFICATION ITEM ===== */
.notification-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: all .15s;
  cursor: pointer;

  &:hover {
    background: #f8fafc;
  }
}

.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;

  app-icon {
    font-size: 1.125rem;
  }

  &.contact {
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
  }

  &.booking {
    background: rgba(249, 115, 22, .1);
    color: #ea580c;
  }
}

.item-content {
  flex: 1;
  min-width: 0;
}

.item-title {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-subtitle {
  display: block;
  font-size: .75rem;
  color: #64748b;
  margin-top: .125rem;
}

/* ===== VIEW ALL ===== */
.view-all {
  display: block;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  text-align: center;
  transition: all .15s;

  &:hover {
    background: rgba(37, 99, 235, .05);
  }
}

/* ===== EMPTY STATE ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;

  app-icon {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: .75rem;
  }

  p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
  }

  span {
    font-size: .8125rem;
    color: #64748b;
    margin-top: .25rem;
  }
}
