/* Admin process + claim messaging polish */
.ap-wrap {
  max-width: 960px;
  margin: 0 auto 3rem;
  color: #2c2c2c;
  animation: ap-fade-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ap-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-wrap {
    animation: none;
  }
}

.ap-wrap--wide {
  max-width: 1100px;
}

.ap-intro {
  margin-bottom: 1.5rem;
}

.ap-intro h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}

.ap-intro p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.ap-banner {
  background: linear-gradient(135deg, rgba(28, 124, 213, 0.08), rgba(28, 124, 213, 0.02));
  border-left: 3px solid #1c7cd5;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  color: #1e3a5f;
  font-size: 0.95rem;
}

.ap-panel {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.ap-panel--plain {
  background: #fff;
}

.ap-panel h3,
.ap-panel h4 {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  color: #111;
}

.ap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.ap-meta li span {
  color: #6b7280;
  margin-right: 0.25rem;
}

.ap-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.ap-table th,
.ap-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
  font-size: 0.92rem;
}

.ap-table th {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #e5e7eb;
}

.ap-table tbody tr:hover {
  background: #f9fafb;
}

.ap-empty {
  text-align: center;
  color: #6b7280;
  padding: 2rem 1rem;
}

.ap-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 3px;
  background: #e8eef5;
  color: #1e3a5f;
  white-space: nowrap;
}

.ap-badge--blue {
  background: rgba(28, 124, 213, 0.12);
  color: #1c7cd5;
}

.ap-badge--green {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.ap-badge--amber {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.ap-badge--gray {
  background: #f3f4f6;
  color: #4b5563;
}

.ap-badge--red {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.ap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ap-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.ap-timeline-item {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.ap-timeline-item__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.ap-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.5rem;
}

.ap-form-actions .btn-link {
  color: #6b7280;
}

.msg-thread {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.msg-thread__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.msg-thread__head h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #111827;
}

.msg-compose {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.15rem;
}

.msg-compose textarea.form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  resize: vertical;
  min-height: 72px;
  background: #fff;
}

.msg-bubble {
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s ease;
}

.msg-bubble:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.msg-bubble__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.msg-bubble__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1c7cd5, #1565b0);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.35rem;
  text-transform: uppercase;
}

.msg-bubble__body {
  background: #f3f6f9;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin: 0;
  font-size: 0.92rem;
  color: #1f2937;
  word-break: break-word;
  line-height: 1.5;
}

.msg-help {
  color: #6b7280;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  text-align: left;
}

.dash-side-link {
  display: block;
  padding: 0.35rem 0.25rem;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dash-side-link:hover {
  background: rgba(28, 124, 213, 0.06);
  text-decoration: none;
}

.dash-side-link.is-active {
  background: rgba(28, 124, 213, 0.1);
}

.dash-side-link.is-active .side-des {
  color: #1c7cd5 !important;
  font-weight: 600;
}

.dash-side-link.is-active svg {
  opacity: 1;
}

.dash-stat-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.claim-detail-panel {
  font-size: 15px;
  border-radius: 12px;
}

#message-alert,
.alert-absolute {
  border-radius: 10px;
  border-left-width: 4px;
  margin: 0.75rem 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  z-index: 1055;
}

.alert-absolute {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 2rem));
}

.ap-table-dash {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .ap-table-dash {
    overflow: visible;
  }
}

.ap-table-dash thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
}

.ap-table-dash tbody tr {
  transition: background-color 0.2s ease;
}

.ap-table-dash tbody tr:hover {
  background: #f8fafc;
}

.ap-table-dash .dash-stat-label {
  margin-bottom: 0;
}

.login-img-parent .upper-img-div {
  animation: ap-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-content-block {
  padding: 2rem 5% 4rem;
}

.about-content-block h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: #1a1a1a;
}

.about-content-block p {
  color: #5c6670;
  line-height: 1.7;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-wrap .form-control,
.container .form-control {
  border-radius: 8px;
}

.ap-attention {
  background: linear-gradient(135deg, #fff8eb 0%, #fef3c7 100%);
  border: 1px solid #f5d9a8;
  border-left: 4px solid #d97706;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}

.ap-attention__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ap-attention__list {
  margin: 0;
  padding-left: 1.1rem;
}

.ap-attention__list a {
  color: #92400e;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.ap-attention__list a:hover {
  color: #78350f;
}

.ap-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.ap-step {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1.2;
}

.ap-step:hover {
  border-color: #1c7cd5;
  color: #1c7cd5;
}

.ap-step.is-active {
  background: #1c7cd5;
  border-color: #1c7cd5;
  color: #fff;
}

.ap-step.is-done {
  border-color: #86efac;
  background: #f0fdf4;
}

.ap-step-pane {
  display: none;
}

.ap-step-pane.is-active {
  display: block;
}

.ap-char {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.ap-char.is-near {
  color: #d97706;
}

.ap-char.is-max {
  color: #b91c1c;
}

.ap-hint {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.ap-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 575.98px) {
  .ap-step {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }
}
