html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.notification-dropdown {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
  overflow: hidden;
}

.notification-dropdown .dropdown-header {
  font-weight: 600;
  font-size: 0.95rem;
}

.notification-dropdown .dropdown-item {
  font-size: 0.9rem;
}

.notification-dropdown-mobile {
  box-shadow: none;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.notification-empty-state .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto;
  background: rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.5rem;
}

.notification-empty-state {
  border-radius: 16px;
  background: #fafbff;
}

.notification-list {
  max-height: 360px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background: #f8fafc;
}

.notification-item:hover {
  background: #f1f5f9;
}

.notification-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 0.95rem;
}

.notification-item .content {
  flex: 1;
}

.notification-item .message {
  font-size: 0.9rem;
  color: #1f2937;
}

.notification-item .time {
  font-size: 0.8rem;
  color: #94a3b8;
}

.notification-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.notification-pill {
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  position: relative;
}

.notification-pill .badge {
  position: static;
  font-size: 0.65rem;
}

.notification-pill:hover {
  background: #e2e8f0;
  color: #1f2937;
}

.notification-pill i {
  font-size: 1rem;
}

.password-toggle-btn {
  color: rgba(255, 255, 255, 0.9);
  border: none;
  background: none;
  padding: 0;
  z-index: 10;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
  color: #ffffff;
  text-decoration: none;
}