/* Shared subpage (menu, notice, legal, etc.) */
.sub-main {
  padding: 20px 16px 120px;
  box-sizing: border-box;
}

.sub-main--legal {
  padding-bottom: 80px;
}

.page-sub .sub-header h1,
.legal-shell .sub-header h1 {
  font-size: 1.0625rem;
}

.menu-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #e8f0fe);
  border: 1px solid #dbeafe;
  text-decoration: none;
  color: #111;
  font-weight: 800;
}

.menu-login span:last-child {
  color: #0064ff;
  font-size: 1.2rem;
}

.menu-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid #eceef2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f0f1f4;
  font-weight: 700;
  font-size: 0.975rem;
  color: #191919;
  text-decoration: none;
}

.menu-list a:last-child {
  border-bottom: none;
}

.menu-list a:hover {
  background: #f8fafc;
}

.menu-list .arr {
  color: #c0c4cc;
  font-size: 1.1rem;
}

.menu-section-title {
  margin: 0 0 10px;
  padding: 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}

.notice-list,
.faq-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-item,
.faq-page-item {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
  overflow: hidden;
}

.notice-item summary,
.faq-page-item summary {
  padding: 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: #191919;
}

.notice-item summary::-webkit-details-marker,
.faq-page-item summary::-webkit-details-marker {
  display: none;
}

.notice-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
}

.notice-item p,
.faq-page-item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.legal-body {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
  padding: 20px 16px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

.legal-body h2 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body ul {
  margin: 8px 0;
  padding-left: 18px;
}

.legal-body li {
  margin: 4px 0;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eceef2;
}

.doc-table th,
.doc-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #f0f1f4;
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  background: #f8fafc;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

.partner-form .field {
  margin-bottom: 14px;
}

.static-hero {
  margin-bottom: 20px;
}

.static-hero h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #111;
}

.static-hero p {
  margin: 0;
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  padding: 16px;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.975rem;
  color: #111;
}

.feature-list p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

.empty-box {
  text-align: center;
  padding: 36px 16px;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.9rem;
}

.card-preview {
  margin: 16px 0 20px;
  padding: 28px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e3a8a, #0064ff);
  color: #fff;
  min-height: 140px;
  box-shadow: 0 12px 28px rgba(0, 100, 255, 0.25);
}

.card-preview__brand {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 28px;
}

.card-preview__num {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f1f4;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #0064ff;
  flex-shrink: 0;
}

.notif-item.is-read .notif-dot {
  background: #cbd5e1;
}

.notif-item strong {
  display: block;
  font-size: 0.925rem;
  margin-bottom: 4px;
}

.notif-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.notif-item time {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
}
