/* notifications.css - custom styles for notification page */

.notification-item {
  cursor: pointer;
  transition: all 0.2s;
}
.notification-item:hover {
  background-color: rgba(67, 97, 238, 0.05);
  transform: translateX(3px);
}
.notification-item.active {
  border-left: 4px solid var(--primary);
  background-color: rgba(67, 97, 238, 0.08);
}
.notification-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.notification-meta {
  font-size: 0.75rem;
  color: #6c757d;
}
.notification-snippet {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.notification-tabs {
  gap: 0.5rem;
}

.notification-tabs .nav-link {
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
  font-weight: 700;
}

.notification-tabs .nav-link.active {
  box-shadow: 0 10px 24px rgba(67, 97, 238, 0.16);
}

.seller-composer-card .form-label {
  color: #475569;
  font-weight: 700;
}

.customer-schedule-card .form-label {
  color: #475569;
  font-weight: 700;
}

.customer-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.customer-preview {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f7fbff);
}

.customer-preview-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: #2563eb;
}

.customer-preview strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.customer-preview p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.birthday-automation-summary {
  display: grid;
  gap: 0.75rem;
}

.birthday-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eef2f7;
}

.birthday-status-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.birthday-status-row span {
  color: #64748b;
  font-size: 0.82rem;
}

.birthday-status-row strong {
  color: #0f172a;
  text-align: right;
}

.customer-campaign-list {
  display: grid;
  gap: 0.85rem;
  max-height: 500px;
  overflow: auto;
  padding-right: 0.25rem;
}

.customer-campaign-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.customer-campaign-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.customer-campaign-top strong {
  color: #0f172a;
}

.customer-campaign-item p {
  margin: 0 0 0.6rem;
  color: #64748b;
}

.customer-campaign-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: #64748b;
  font-size: 0.8rem;
}

.customer-campaign-error {
  margin-top: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 0.82rem;
}

.seller-shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.seller-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  max-height: 360px;
  overflow: auto;
  padding: 0.15rem;
}

.seller-shop-card {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.seller-shop-card:hover {
  border-color: rgba(214, 51, 132, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.seller-shop-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.seller-shop-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
  background: #f8e9f2;
  color: var(--primary);
  font-weight: 800;
}

.seller-shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-shop-copy {
  min-width: 0;
}

.seller-shop-copy strong,
.seller-shop-copy small,
.seller-shop-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-shop-copy strong {
  color: #0f172a;
}

.seller-shop-copy small,
.seller-shop-copy em {
  color: #64748b;
  font-size: 0.78rem;
}

.seller-preview {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff8fb);
}

.seller-preview-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
}

.seller-preview strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.seller-preview p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.seller-campaign-list {
  display: grid;
  gap: 0.85rem;
  max-height: 720px;
  overflow: auto;
  padding-right: 0.25rem;
}

.seller-campaign-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.seller-campaign-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.seller-campaign-top strong {
  color: #0f172a;
}

.seller-campaign-item p {
  margin: 0 0 0.6rem;
  color: #64748b;
}

.seller-campaign-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: #64748b;
  font-size: 0.8rem;
}

.seller-campaign-error {
  margin-top: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .notification-item {
    padding: 0.85rem;
  }

  .notification-item:hover {
    transform: none;
  }

  .seller-shop-toolbar {
    grid-template-columns: 1fr;
  }

  .customer-quick-actions {
    grid-template-columns: 1fr;
  }
}
