.easycreds-dashboard {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 42px;
  color: #111827;
}

.easycreds-dashboard--student {
  position: relative;
}

.easycreds-dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* gap: 24px; */
  /* margin-bottom: 22px; */
  /* padding: 28px; */
  /* border: 1px solid #e5e7eb; */
  border-radius: 26px;
}

.easycreds-dashboard-hero__content {
  flex: 1;
  min-width: 0;
}

.easycreds-dashboard-eyebrow {
  display: inline-block;
  /* margin-bottom: 10px; */
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.easycreds-dashboard-hero__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffff;
}

.easycreds-dashboard-hero__subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

.easycreds-dashboard-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: start !important;
  gap: 10px;
  margin-top: 18px;
}

.easycreds-dashboard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

.easycreds-dashboard-actions {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
}

.easycreds-dashboard-notification-wrap {
  min-width: 52px;
}

.easycreds-dashboard-status-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.easycreds-dashboard-status-card--modern {
  /* background: linear-gradient(180deg, #ffffff, #fbfdff); */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

.easycreds-status-item {
  min-height: 118px;
  background: #f8fafc;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #eef2f7;
}

.easycreds-status-item br {
  display: none !important;
}

.easycreds-status-item strong {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
  word-break: break-word;
  font-weight: 500 !important;
}

.easycreds-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 20px;
}

.easycreds-dashboard-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.easycreds-dashboard-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.easycreds-dashboard-panel h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111827;
}

.easycreds-request-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.easycreds-table-wrap {
  overflow-x: auto;
}

.easycreds-table {
  width: 100%;
  border-collapse: collapse;
}

.easycreds-table th,
.easycreds-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.easycreds-table th {
  font-size: 13px;
  color: #111827;
}

.easycreds-table td {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.easycreds-request-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.easycreds-request-form select,
.easycreds-request-form input[type="text"],
.easycreds-request-form textarea,
.easycreds-request-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}

.easycreds-request-form input[type="file"] {
  padding: 10px 12px;
}

.easycreds-request-locked,
.easycreds-request-unlocked {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.easycreds-request-intro {
  margin-bottom: 12px;
  color: #374151;
}

.easycreds-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.easycreds-checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid #dcdfe4;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.easycreds-checkbox-card:hover {
  border-color: #bfd3f7;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.easycreds-checkbox-card input[type="checkbox"] {
  margin: 0;
  transform: scale(1.05);
}

.easycreds-checkbox-card span {
  font-size: 14px;
  line-height: 1.35;
  color: #1f2937;
}

.easycreds-other-field {
  margin-bottom: 18px;
}

.easycreds-other-field label,
.easycreds-section-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.easycreds-other-field input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dcdfe4;
  border-radius: 14px;
  background: #ffffff;
}

.easycreds-request-message {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.easycreds-request-message p {
  margin: 0;
}

.easycreds-request-message-success {
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #166534;
}

.easycreds-request-message-error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.easycreds-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.easycreds-toast {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #111827;
  animation: easycredsToastIn 0.22s ease;
}

.easycreds-toast--success {
  background: #ecfdf3;
  border-color: #a6f4c5;
  color: #166534;
}

.easycreds-toast--error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

@keyframes easycredsToastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.easycreds-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}

.easycreds-modal.is-open {
  display: block;
}

.easycreds-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.easycreds-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.easycreds-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 3;
}

.easycreds-modal__header h3 {
  margin: 0;
}

.easycreds-modal__close {
  border: 0;
  background: #0007 !important;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #374151;
}

.easycreds-modal__body {
  padding: 20px;
}

.easycreds-modal__actions {
  margin-top: 16px;
}

body.easycreds-modal-open {
  overflow: hidden;
}

/* student notification */
.easycreds-notification-bell {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.easycreds-notification-bell:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #e0efff, #cfe3ff);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.2);
}

.easycreds-notification-bell:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.easycreds-notification-bell__icon {
  width: 22px;
  height: 22px;
  color: #1d4ed8 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.easycreds-notification-bell__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 60px !important;
}

.easycreds-notification-bell__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  line-height: 22px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(239, 68, 68, 0.32);
}

.easycreds-notification-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, calc(100vw - 32px));
  z-index: 1300;
}

.easycreds-notification-panel {
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  padding: 0 !important;
}

.easycreds-notification-panel__header {
  padding: 16px 18px 14px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.easycreds-notification-panel__header strong {
  display: block;
  margin: 0;
  color: #111827 !important;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
}

.easycreds-notification-panel__header small {
  display: block;
  margin-top: 6px;
  color: #6b7280 !important;
  font-size: 13px;
  line-height: 1.35;
}

.easycreds-notification-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}

.easycreds-notification-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.easycreds-notification-item:last-child {
  border-bottom: 0;
}

.easycreds-notification-item:hover {
  background: #f8fbff;
}

.easycreds-notification-item.is-unread {
  background: #f4f8ff;
}

.easycreds-notification-item:focus {
  outline: none;
  background: #eef4ff;
}

.easycreds-notification-content {
  flex: 1;
  min-width: 0;
}

.easycreds-notification-content strong {
  display: block;
  margin: 0 0 6px;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 700;
}

.easycreds-notification-content p {
  margin: 0 0 8px;
  color: #374151 !important;
  line-height: 1.55;
  font-size: 13px !important;
  font-weight: 400 !important;
  word-break: break-word;
}

.easycreds-notification-content small {
  color: #6b7280 !important;
  font-size: 12px;
  line-height: 1.3;
}

.easycreds-notification-item__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
  flex-shrink: 0;
}

.easycreds-notification-empty {
  padding: 18px 16px;
  color: #6b7280;
  font-size: 14px;
}

.easycreds-link-button {
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.easycreds-link-button:hover {
  text-decoration: underline;
}

/* student floating ai */
.easycreds-student-ai-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
}

.easycreds-student-ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.easycreds-student-ai-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.easycreds-student-ai-toggle__icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.easycreds-student-ai-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(420px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

/* shared ai chat */
.easycreds-ai-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  color: #111827;
}

.easycreds-ai-chat-header__left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.easycreds-ai-chat-header strong,
.easycreds-ai-chat-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #111827;
}

.easycreds-ai-chat-header p {
  margin: 4px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

.easycreds-ai-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #111827);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.easycreds-ai-close {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
}

.easycreds-ai-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding: 16px;
  background: #ffffff;
}

.easycreds-ai-message {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 18px;
  white-space: pre-wrap;
  line-height: 1.55;
  font-size: 14px;
  word-break: break-word;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.easycreds-ai-message--assistant {
  align-self: flex-start;
  background: #f3f6fb;
  border: 1px solid #e5e7eb;
  color: #111827;
  border-top-left-radius: 8px;
}

.easycreds-ai-message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid #2563eb;
  color: #ffffff;
  border-top-right-radius: 8px;
}

.easycreds-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: #ffffff;
}

.easycreds-ai-suggestion {
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #1f2937 !important;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}

.easycreds-ai-suggestion:hover {
  background: #eef4ff;
  border-color: #bfd3f7;
  transform: translateY(-1px);
}

.easycreds-ai-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 16px;
  background: #ffffff;
}

.easycreds-ai-input {
  width: 100%;
  min-height: 90px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 12px 14px;
  resize: vertical;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

.easycreds-ai-input::placeholder {
  color: #9ca3af;
}

.easycreds-ai-form-actions {
  display: flex;
  justify-content: flex-end;
}

.easycreds-ai-send-btn {
  min-width: 100px;
}

/* request history redesign */
.easycreds-request-history-panel {
  overflow: hidden;
}

.easycreds-request-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.easycreds-request-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.easycreds-request-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.easycreds-request-card__header h4 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  color: #111827;
}

.easycreds-request-card__meta {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.easycreds-request-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.easycreds-request-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 20px;
}

.easycreds-request-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.easycreds-request-detail-row {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

.easycreds-request-detail-row strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
}

.easycreds-request-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.easycreds-request-receipt-box,
.easycreds-request-proof-box {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.easycreds-request-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.easycreds-request-action-buttons a {
  padding-top: 0 !important;
}

.easycreds-request-proof-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.easycreds-request-proof-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.easycreds-request-proof-file {
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #374151;
  font-size: 14px;
}

.easycreds-request-proof-link {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.easycreds-request-proof-link:hover {
  text-decoration: underline;
}

.easycreds-request-empty {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.easycreds-upload-proof-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.easycreds-upload-proof-form .easycreds-btn {
  padding-top: 0 !important;
}

.easycreds-upload-proof-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}

/* =========================================
   Parcel tracking - student dashboard
========================================= */

.easycreds-request-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.easycreds-request-meta-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

.easycreds-request-meta-item strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: #111827;
  word-break: break-word;
}

.easycreds-request-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.easycreds-request-card__placeholder {
  color: #6b7280;
  font-size: 14px;
}

.easycreds-request-card__proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  margin-bottom: 18px;
}

.easycreds-request-card__proof-left,
.easycreds-request-card__proof-right {
  min-width: 0;
}

.easycreds-proof-upload-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.easycreds-proof-upload-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}

.easycreds-request-tracking-block {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.easycreds-request-tracking-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.easycreds-request-tracking-block__head h5 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
  color: #111827;
}

.easycreds-request-tracking-updated {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.easycreds-request-tracking-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.easycreds-request-tracking-mapwrap {
  min-width: 0;
  width: 100%;
  order: 1;
}

.easycreds-request-tracking-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  order: 2;
}

.easycreds-tracking-map {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  border: 1px solid #dbe3ef;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.easycreds-request-tracking-event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.easycreds-request-tracking-event__dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
  flex-shrink: 0;
}

.easycreds-request-tracking-event__content {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.easycreds-request-tracking-event__content strong {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  color: #111827;
}

.easycreds-request-tracking-event__content p {
  margin: 0 0 8px;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.easycreds-request-tracking-event__content small {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.easycreds-request-tracking-event__content span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.3;
}

.easycreds-request-tracking-empty,
.easycreds-request-empty-state {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #6b7280;
  font-size: 14px;
}

.easycreds-request-history-table .easycreds-badge,
.easycreds-status-item .easycreds-badge,
.easycreds-dashboard-hero__chips .easycreds-badge {
  min-height: 34px;
  padding: 7px 14px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* padding-top: 0; */
}

.easycreds-status-item .easycreds-badge {
  width: fit-content;
  padding-top: 0;
}

/* ===============================
   FIXED REQUEST HISTORY ACTIONS
=============================== */
.easycreds-request-history-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
}

.easycreds-request-history-actions .easycreds-btn,
.easycreds-request-history-actions a.easycreds-btn,
.easycreds-request-summary-header .easycreds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.easycreds-request-history-actions .easycreds-btn,
.easycreds-request-history-actions a.easycreds-btn {
  height: 34px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.easycreds-request-summary-header .easycreds-btn {
  min-height: 44px;
}

.easycreds-dashboard-panel__head--request-history .easycreds-btn {
  margin-top: 2px;
  /* padding-top: 0 !important; */
}

.easycreds-request-history-id {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.easycreds-request-history-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.easycreds-request-history-main strong {
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500 !important;
}

.easycreds-request-history-main br {
  display: none !important;
}

.easycreds-request-history-main span,
.easycreds-request-history-muted {
  color: #6b7280;
  font-size: 12px;
}

.easycreds-request-history-main span {
  display: none !important;
}

.easycreds-request-history-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.easycreds-request-history-date br {
  display: none !important;
}

.easycreds-request-history-date strong {
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
}

.easycreds-request-history-date span {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  display: none !important;
}

.easycreds-request-history-code {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.easycreds-request-history-nowrap {
  white-space: nowrap;
}

.easycreds-request-history-table-shell {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.easycreds-request-history-table-wrap {
  max-height: 720px;
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
  scroll-padding-left: 0;
}

.easycreds-request-history-table {
  width: 100%;
  min-width: 1210px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  margin-left: 0;
}

.easycreds-request-history-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fbff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.easycreds-request-history-table tbody tr {
  transition: background 0.18s ease;
}

.easycreds-request-history-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

.easycreds-request-history-table tbody tr:hover {
  background: #f8fbff;
}

.easycreds-request-history-table td {
  padding: 14px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
}

.easycreds-request-history-table th,
.easycreds-request-history-table td {
  width: auto;
  min-width: unset;
  max-width: none;
}

/* ID */
.easycreds-request-history-table th:nth-child(1),
.easycreds-request-history-table td:nth-child(1) {
  min-width: 72px;
}

/* Credential */
.easycreds-request-history-table th:nth-child(2),
.easycreds-request-history-table td:nth-child(2) {
  min-width: 145px;
}

/* Date Submitted */
.easycreds-request-history-table th:nth-child(3),
.easycreds-request-history-table td:nth-child(3) {
  min-width: 132px;
}

/* Request Status */
.easycreds-request-history-table th:nth-child(4),
.easycreds-request-history-table td:nth-child(4) {
  min-width: 128px;
}

/* Payment Status */
.easycreds-request-history-table th:nth-child(5),
.easycreds-request-history-table td:nth-child(5) {
  min-width: 128px;
}

/* Parcel Status */
.easycreds-request-history-table th:nth-child(6),
.easycreds-request-history-table td:nth-child(6) {
  min-width: 145px;
}

/* Tracking No. */
.easycreds-request-history-table th:nth-child(7),
.easycreds-request-history-table td:nth-child(7) {
  min-width: 170px;
}

/* Reference No. */
.easycreds-request-history-table th:nth-child(8),
.easycreds-request-history-table td:nth-child(8) {
  min-width: 175px;
}

/* Delivery */
.easycreds-request-history-table th:nth-child(9),
.easycreds-request-history-table td:nth-child(9) {
  min-width: 78px;
}

/* Actions */
.easycreds-request-history-table th:nth-child(10),
.easycreds-request-history-table td:nth-child(10) {
  min-width: 140px;
  max-width: 140px;
  width: 140px;
  white-space: nowrap;
}

.easycreds-request-asset-box {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 18px;
}

.easycreds-request-asset-box__head h4 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
  color: #111827;
}

.easycreds-request-asset-box__head p {
  margin: 0;
}

.easycreds-request-asset-preview {
  margin-top: 14px;
}

.easycreds-request-asset-preview img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.easycreds-request-asset-file {
  margin-top: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
}

.easycreds-proof-upload-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.easycreds-proof-upload-form input[type="file"] {
  min-height: 46px;
}

.easycreds-dashboard-panel__head--request-history {
  align-items: center;
}

.easycreds-tracking-lookup {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.easycreds-tracking-lookup__intro h4 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  color: #111827;
}

.easycreds-tracking-lookup__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.easycreds-tracking-lookup__fields .easycreds-btn {
  min-width: 170px;
}

.easycreds-tracking-lookup__feedback {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe3ef;
  background: #f8fbff;
  color: #1d4ed8;
  font-size: 14px;
  line-height: 1.5;
}

.easycreds-tracking-lookup__feedback--success {
  background: #ecfdf3;
  border-color: #a6f4c5;
  color: #166534;
}

.easycreds-tracking-lookup__feedback--error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.easycreds-tracking-lookup__feedback--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.easycreds-tracking-lookup__result-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.easycreds-request-tracking-grid--lookup {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
}

.easycreds-modal__dialog--tracking-lookup {
  width: min(1080px, calc(100vw - 32px));
}

.easycreds-student-tracking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.easycreds-student-tracking-form__actions {
  display: flex;
  justify-content: flex-start;
}

.easycreds-tracking-feedback {
  margin-top: 14px;
  min-height: 22px;
  font-size: 14px;
  line-height: 1.5;
}

.easycreds-tracking-feedback--info {
  color: #1d4ed8;
}

.easycreds-tracking-feedback--success {
  color: #166534;
}

.easycreds-tracking-feedback--error {
  color: #b42318;
}

.easycreds-tracking-result-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.easycreds-tracking-result-card__header,
.easycreds-tracking-route-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.easycreds-tracking-result-card__header h4,
.easycreds-tracking-route-card__head h5 {
  margin: 0 0 4px;
  color: #111827;
}

.easycreds-tracking-result-card__header p,
.easycreds-tracking-route-card__head p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.easycreds-tracking-summary-card,
.easycreds-tracking-route-card,
.easycreds-tracking-events-card {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.easycreds-tracking-summary-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.easycreds-tracking-summary-card__grid strong,
.easycreds-tracking-route-pill strong {
  display: block;
  color: #111827;
  word-break: break-word;
}

.easycreds-tracking-route-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.easycreds-tracking-route-pill {
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.easycreds-tracking-route-pill small {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.easycreds-student-tracking-map {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  border: 1px solid #dbe3ef;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.easycreds-tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.easycreds-tracking-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.easycreds-tracking-timeline__dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
  flex-shrink: 0;
}

.easycreds-tracking-timeline__content {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.easycreds-tracking-timeline__content strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
}

.easycreds-tracking-timeline__meta,
.easycreds-tracking-timeline__time,
.easycreds-tracking-timeline__content p,
.easycreds-tracking-empty-state p {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.easycreds-tracking-empty-state {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
}

/* =========================================
   New parcel enhancements
========================================= */

.easycreds-truck-marker-wrap {
  background: transparent !important;
  border: 0 !important;
}

.easycreds-truck-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  border: 2px solid #2563eb;
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.22),
    0 2px 8px rgba(15, 23, 42, 0.12);
  animation: easycredsTruckFloat 1.2s ease-in-out infinite;
}

.easycreds-truck-marker__emoji {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

@keyframes easycredsTruckFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.easycreds-delivered-celebration {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #bbf7d0;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at top right,
      rgba(34, 197, 94, 0.14),
      transparent 34%
    ),
    linear-gradient(180deg, #f0fdf4, #ecfdf3);
  box-shadow: 0 12px 30px rgba(22, 101, 52, 0.08);
}

.easycreds-delivered-celebration__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.easycreds-delivered-celebration__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.12);
  font-size: 26px;
  flex-shrink: 0;
}

.easycreds-delivered-celebration__content h5 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
  color: #166534;
}

.easycreds-delivered-celebration__content p {
  margin: 0;
  color: #166534;
  font-size: 14px;
  line-height: 1.6;
}

.easycreds-delivered-celebration__details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.easycreds-delivered-celebration__details > div {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(22, 101, 52, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.easycreds-delivered-celebration__details strong {
  display: block;
  margin-top: 6px;
  color: #14532d;
  word-break: break-word;
}

.easycreds-delivered-celebration__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.easycreds-confetti-piece {
  position: absolute;
  top: -18px;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  opacity: 0.95;
  animation: easycredsConfettiFall 3.2s linear infinite;
}

.easycreds-confetti-piece:nth-child(1) {
  left: 6%;
  background: #2563eb;
  animation-delay: 0s;
}
.easycreds-confetti-piece:nth-child(2) {
  left: 14%;
  background: #f59e0b;
  animation-delay: 0.2s;
}
.easycreds-confetti-piece:nth-child(3) {
  left: 22%;
  background: #10b981;
  animation-delay: 0.45s;
}
.easycreds-confetti-piece:nth-child(4) {
  left: 31%;
  background: #8b5cf6;
  animation-delay: 0.1s;
}
.easycreds-confetti-piece:nth-child(5) {
  left: 40%;
  background: #ef4444;
  animation-delay: 0.55s;
}
.easycreds-confetti-piece:nth-child(6) {
  left: 49%;
  background: #2563eb;
  animation-delay: 0.75s;
}
.easycreds-confetti-piece:nth-child(7) {
  left: 58%;
  background: #22c55e;
  animation-delay: 0.28s;
}
.easycreds-confetti-piece:nth-child(8) {
  left: 67%;
  background: #f97316;
  animation-delay: 0.9s;
}
.easycreds-confetti-piece:nth-child(9) {
  left: 75%;
  background: #06b6d4;
  animation-delay: 0.38s;
}
.easycreds-confetti-piece:nth-child(10) {
  left: 83%;
  background: #eab308;
  animation-delay: 0.6s;
}
.easycreds-confetti-piece:nth-child(11) {
  left: 90%;
  background: #6366f1;
  animation-delay: 1s;
}
.easycreds-confetti-piece:nth-child(12) {
  left: 96%;
  background: #14b8a6;
  animation-delay: 0.16s;
}

@keyframes easycredsConfettiFall {
  0% {
    transform: translate3d(0, -12px, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translate3d(0, 260px, 0) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .easycreds-modal-card-grid--tracking {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .easycreds-request-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .easycreds-request-tracking-grid,
  .easycreds-request-card__proof {
    grid-template-columns: 1fr;
  }

  .easycreds-tracking-map {
    height: 360px;
  }
}

@media (max-width: 980px) {
  .easycreds-request-card__grid,
  .easycreds-request-card__actions {
    grid-template-columns: 1fr;
  }

  .easycreds-request-card__details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .easycreds-dashboard-hero,
  .easycreds-dashboard-status-card,
  .easycreds-dashboard-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .easycreds-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .easycreds-request-summary-header,
  .easycreds-dashboard-panel__head--request-history {
    flex-direction: column;
    align-items: stretch;
  }

  .easycreds-dashboard-actions {
    align-self: flex-end;
  }

  .easycreds-notification-dropdown {
    right: 0;
    left: auto;
    width: min(380px, calc(100vw - 24px));
  }

  .easycreds-toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .easycreds-modal__dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    max-height: calc(100vh - 20px);
  }

  .easycreds-tracking-summary-card__grid,
  .easycreds-tracking-route-pills,
  .easycreds-delivered-celebration__details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .easycreds-dashboard {
    padding: 18px 12px 32px;
  }

  .easycreds-dashboard-hero {
    padding: 20px;
  }

  .easycreds-dashboard-hero__title {
    font-size: 34px;
  }

  .easycreds-student-ai-floating {
    right: 16px;
    bottom: 16px;
  }

  .easycreds-student-ai-panel {
    width: min(380px, calc(100vw - 24px));
  }

  .easycreds-student-ai-toggle__label {
    display: none;
  }

  .easycreds-request-card__header {
    flex-direction: column;
  }

  .easycreds-request-action-buttons {
    flex-direction: column;
  }

  .easycreds-request-action-buttons .easycreds-btn {
    width: 100%;
  }

  .easycreds-request-card__meta,
  .easycreds-tracking-lookup__fields {
    grid-template-columns: 1fr;
  }

  .easycreds-request-card__actions {
    flex-direction: column;
  }

  .easycreds-request-card__actions .easycreds-btn {
    width: 100%;
  }

  .easycreds-request-tracking-block__head {
    flex-direction: column;
  }

  .easycreds-tracking-map {
    height: 280px;
  }

  .easycreds-modal-card-grid,
  .easycreds-modal-card-grid--tracking {
    grid-template-columns: 1fr;
  }

  .easycreds-request-history-panel {
    padding: 16px;
  }

  .easycreds-modal--utility .easycreds-modal__dialog {
    width: min(100vw - 20px, 1180px);
    margin: 10px auto;
    max-height: calc(100vh - 20px);
  }

  .easycreds-request-history-actions {
    flex-wrap: wrap;
    white-space: normal;
  }

  .easycreds-request-history-actions .easycreds-btn,
  .easycreds-request-history-actions a.easycreds-btn {
    width: auto;
  }

  .easycreds-request-history-table-wrap {
    max-height: 600px;
  }

  .easycreds-delivered-celebration {
    padding: 18px 16px;
  }

  .easycreds-delivered-celebration__content {
    align-items: flex-start;
  }

  .easycreds-delivered-celebration__content h5 {
    font-size: 18px;
  }

  .easycreds-student-tracking-map {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .easycreds-tracking-summary-card__grid,
  .easycreds-tracking-route-pills {
    grid-template-columns: 1fr;
  }
}

.easycreds-dashboard-panel p {
  margin-bottom: 0 !important;
}

/* =========================================
   Remove auto-inserted line breaks inside controls
========================================= */
.easycreds-btn br,
.easycreds-btn--small br,
.easycreds-badge br,
.easycreds-dashboard-chip br,
.easycreds-notification-bell br,
.easycreds-request-history-actions br,
.easycreds-request-summary-header br,
.easycreds-dashboard-panel__head br,
.easycreds-request-history-table button br,
.easycreds-request-history-table a br {
  display: none !important;
}

.easycreds-btn p,
.easycreds-btn--small p,
.easycreds-badge p,
.easycreds-dashboard-chip p,
.easycreds-notification-bell p,
.easycreds-request-history-actions p,
.easycreds-request-summary-header p,
.easycreds-dashboard-panel__head p,
.easycreds-request-history-table button p,
.easycreds-request-history-table a p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.easycreds-btn,
.easycreds-btn--small,
.easycreds-badge,
.easycreds-dashboard-chip,
.easycreds-notification-bell,
.easycreds-request-history-actions .easycreds-btn,
.easycreds-request-history-actions a.easycreds-btn {
  white-space: nowrap !important;
}

.easycreds-request-history-actions {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.easycreds-request-history-actions > * {
  flex: 0 0 auto !important;
}

.easycreds-help-text {
  color: #000 !important;
}

/* EasyCreds document verification updates */
.easycreds-document-upload-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.easycreds-document-upload-box__intro {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe3ef;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.easycreds-document-upload-box__list {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.easycreds-document-upload-box__list h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #111827;
}

.easycreds-document-upload-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.easycreds-document-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

.easycreds-document-upload-item > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.easycreds-document-upload-item strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .easycreds-document-upload-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* single payment proof upload */
.easycreds-single-proof-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.easycreds-proof-upload-form--single {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.easycreds-proof-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.easycreds-proof-upload-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.easycreds-proof-upload-field--full {
  grid-column: 1 / -1;
}

.easycreds-proof-upload-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.easycreds-proof-upload-meta__label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.easycreds-proof-upload-meta a,
.easycreds-proof-upload-meta__empty {
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.easycreds-proof-upload-meta__empty {
  color: #6b7280;
}

@media (max-width: 900px) {
  .easycreds-proof-upload-grid {
    grid-template-columns: 1fr;
  }
}

.easycreds-proof-upload-form--single select,
.easycreds-proof-upload-form--single input[type="text"],
.easycreds-proof-upload-form--single input[type="date"],
.easycreds-proof-upload-form--single input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}

.easycreds-proof-upload-form--single input[readonly] {
  background: #f8fafc;
  color: #374151;
}

.easycreds-proof-upload-form--single input[type="date"] {
  appearance: auto;
  -webkit-appearance: auto;
}

.easycreds-current-proof-card {
  width: 100%;
}

.easycreds-current-proof-card strong {
  display: block;
  margin-bottom: 10px;
  color: #111827;
}

.easycreds-current-proof-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.easycreds-current-proof-card__meta div,
.easycreds-current-proof-card__meta a {
  font-size: 13px;
  line-height: 1.5;
}

.easycreds-current-proof-card__meta span {
  color: #6b7280;
  font-weight: 700;
}

@media (max-width: 900px) {
  .easycreds-current-proof-card__meta {
    grid-template-columns: 1fr;
  }
}

.easycreds-inline-file-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.easycreds-inline-file-link:hover {
  text-decoration: underline;
}
