/* ======================================
   CUSTOMER NOTIFICATIONS
====================================== */
.customer-notifications-page {
  padding: 20px;
  padding-bottom: 120px;
  background: #f5f7fb;
  min-height: 100vh;
  box-sizing: border-box;
}

/* HEADER */
.customer-notifications-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.customer-notifications-back-btn {
  width: 42px;
  height: 42px;

  border: none;

  border-radius: 12px;

  background: #2563eb;

  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;

  color: #ffffff;

  transition: all 0.2s ease;
}

.customer-notifications-back-btn:active {
  transform: scale(0.95);
}

.customer-notifications-header-info h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.customer-notifications-header-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #64748b;
}

/* LIST */
.customer-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CARD */
.customer-notifications-card {
  display: flex;
  gap: 14px;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease,
    border 0.2s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.customer-notifications-card:active {
  transform: scale(0.98);
}

.customer-notifications-card-unread {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.08);
}

/* ICON */
.customer-notifications-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2563eb;
}

/* CONTENT */
.customer-notifications-card-content {
  flex: 1;
  min-width: 0;
}

/* TOP */
.customer-notifications-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

/* TITLE */
.customer-notifications-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* MESSAGE */
.customer-notifications-card-message {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

/* DATE */
.customer-notifications-card-date {
  font-size: 12px;
  color: #94a3b8;
}

/* UNREAD DOT */
.customer-notifications-unread-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: #ef4444;
}

/* LOADING */
.customer-notifications-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: #64748b;
  font-size: 14px;
}

.customer-notifications-loading i {
  font-size: 28px;
}

/* EMPTY */
.customer-notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.customer-notifications-empty i {
  font-size: 42px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.customer-notifications-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #0f172a;
}

.customer-notifications-empty p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* ERROR */
.customer-notifications-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.customer-notifications-error i {
  font-size: 42px;
  color: #ef4444;
  margin-bottom: 16px;
}

.customer-notifications-error h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #0f172a;
}

.customer-notifications-error p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* INTERACTION */
.customer-notifications-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.customer-notifications-card:active {
  transform: scale(0.985);
}

/* READ STATE */
.customer-notifications-card.reading {
  opacity: 0.7;
  transform: scale(0.99);
}

.customer-notifications-card.read {
  opacity: 0.92;
}

/* ICON */
.customer-notifications-card-icon {
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.customer-notifications-card:hover .customer-notifications-card-icon {
  transform: scale(1.05);
}
