/* =================================================
   Ultra Member Login Light - フロントエンドスタイル
   ================================================= */

/* ---------- 共通リセット ---------- */
.umll-member-wrap,
.umll-login-outer {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
               "Meiryo", sans-serif;
  color: #333;
  line-height: 1.7;
}

.umll-member-wrap *,
.umll-login-outer * {
  box-sizing: border-box;
}

/* =================================================
   ログインページ
   ================================================= */
.umll-login-outer {
  background: #f6f7f9;
  padding: 48px 16px;
}

.umll-login-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 40px 36px;
}

.umll-login-title {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.umll-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =================================================
   会員ページ全体
   ================================================= */
.umll-member-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 56px;
  background: #f6f7f9;
  min-height: 60vh;
}

/* ---------- ページヘッダー ---------- */
.umll-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e4e6ea;
}

.umll-page-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

/* =================================================
   カード共通
   ================================================= */
.umll-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  padding: 24px;
  margin-bottom: 20px;
}

.umll-card-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.umll-card-center {
  text-align: center;
  padding: 40px 24px;
}

/* =================================================
   ステータスカード（グラデーション背景）
   ================================================= */
.umll-status-card {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5298 100%);
  color: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.25);
}

.umll-status-greeting {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.umll-status-greeting strong {
  font-size: 20px;
}

.umll-status-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.umll-status-item {
  font-size: 13px;
  opacity: 0.85;
}

/* ---------- バッジ ---------- */
.umll-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.umll-badge-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.umll-badge-suspended {
  background: rgba(230, 50, 50, 0.25);
  color: #ffcccc;
  border: 1px solid rgba(230, 50, 50, 0.45);
}

/* =================================================
   メインCTAセクション
   ================================================= */
.umll-cta-section {
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- 案内リスト ---------- */
.umll-notice-list {
  margin: 0;
  padding-left: 1.4em;
}

.umll-notice-list li {
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

/* =================================================
   ボタン
   ================================================= */
.umll-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.umll-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.umll-btn:active {
  transform: scale(0.97);
}

/* 赤：主要アクション */
.umll-btn-primary {
  background: #B73434;
  color: #fff !important;
  border-color: #B73434;
}

.umll-btn-primary:hover {
  background: #9e2c2c;
  border-color: #9e2c2c;
  opacity: 1;
}

/* アウトライン：ログアウトなどサブアクション */
.umll-btn-outline {
  background: #fff;
  color: #555 !important;
  border-color: #d0d5dd;
}

.umll-btn-outline:hover {
  border-color: #aaa;
  opacity: 1;
}

/* サイズ修飾子 */
.umll-btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
}

.umll-btn-lg {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 10px;
}

/* CTAボタン：影付き */
.umll-btn-cta {
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(183, 52, 52, 0.3);
}

.umll-btn-cta:hover {
  box-shadow: 0 6px 20px rgba(183, 52, 52, 0.4);
}

/* ブロック幅 */
.umll-btn-block {
  display: block;
  width: 100%;
}

/* =================================================
   フォーム要素
   ================================================= */
.umll-form {
  display: flex;
  flex-direction: column;
}

.umll-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.umll-label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.umll-required {
  color: #B73434;
  margin-left: 2px;
}

.umll-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.umll-input:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

.umll-input-narrow {
  max-width: 180px;
}

.umll-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.6;
}

.umll-textarea:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

.umll-form-actions {
  margin-top: 8px;
  text-align: center;
}

/* =================================================
   アラート・フィードバック
   ================================================= */
.umll-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.umll-alert-success {
  background: #f0faf1;
  border: 1px solid #a8d5ac;
  color: #2d6a31;
}

.umll-alert-error {
  background: #fef2f2;
  border: 1px solid #f5c6c6;
  color: #9b1c1c;
}

.umll-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* =================================================
   申込み履歴テーブル
   ================================================= */
.umll-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.umll-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.umll-table th,
.umll-table td {
  padding: 10px 12px;
  border: 1px solid #eaecf0;
  text-align: left;
  vertical-align: top;
}

.umll-table th {
  background: #f8f9fb;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

.umll-table tbody tr:hover {
  background: #fafbfc;
}

/* ---------- テキストユーティリティ ---------- */
.umll-text-muted {
  color: #888;
  font-size: 14px;
}

/* =================================================
   スマホ対応（600px以下）
   ================================================= */
@media (max-width: 600px) {
  .umll-login-outer {
    padding: 32px 12px;
  }

  .umll-login-card {
    padding: 28px 20px;
  }

  .umll-login-title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .umll-member-wrap {
    padding: 16px 12px 40px;
  }

  .umll-page-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .umll-page-title {
    font-size: 18px;
  }

  .umll-card {
    padding: 18px 16px;
  }

  .umll-status-card {
    padding: 18px 16px;
  }

  .umll-status-greeting strong {
    font-size: 18px;
  }

  .umll-btn-cta {
    min-width: 0;
    width: 100%;
  }

  .umll-input-narrow {
    max-width: 100%;
  }

  .umll-table {
    font-size: 13px;
  }

  .umll-table th,
  .umll-table td {
    padding: 8px 10px;
  }
}

.umll-title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.4;
}

.umll-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.umll-form label {
  font-weight: 600;
}

.umll-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  box-sizing: border-box;
}

/* ---------- パスワード変更リンク（会員ページ最下部） ---------- */
.umll-change-password-link {
  text-align: center;
  margin-top: 24px;
}

.umll-change-password-link a {
  color: #B73434;
  font-weight: 600;
  text-decoration: none;
}

.umll-change-password-link a:hover {
  text-decoration: underline;
}

.umll-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  box-sizing: border-box;
  resize: vertical;
  min-height: 96px;
}

.umll-button {
  display: inline-block;
  width: fit-content;
  padding: 10px 18px;
  border: 1px solid #1f4e79;
  background: #1f4e79;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

.umll-button-secondary {
  background: #ffffff;
  color: #1f4e79;
}

.umll-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 6px;
}

.umll-success {
  background: #eef7ef;
  border: 1px solid #c7dfc9;
}

.umll-error {
  background: #fff2f2;
  border: 1px solid #efcaca;
}

/* =================================================
   Contact Form 7
   ================================================= */
.wpcf7-submit {
  display: block;
  margin: 20px auto;
}

.umll-dl {
  margin: 0 0 16px;
}

.umll-dl dt {
  font-weight: 700;
  margin-top: 8px;
}

.umll-dl dd {
  margin: 4px 0 0 0;
}

.umll-section {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
}

.umll-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

.umll-note-list {
  margin: 0;
  padding-left: 1.2em;
}

.umll-note-list li {
  margin: 0 0 8px;
  line-height: 1.7;
}

.umll-placeholder {
  padding: 14px;
  border: 1px dashed #b8c4cf;
  border-radius: 8px;
  background: #ffffff;
}

.umll-placeholder-title {
  margin: 0 0 6px;
  font-weight: 700;
}

.umll-muted {
  margin: 0;
  color: #555555;
}

.umll-actions {
  margin-top: 20px;
}

.umll-history-wrap {
  overflow-x: auto;
}

.umll-history-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.umll-history-table th,
.umll-history-table td {
  border: 1px solid #e2e2e2;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.umll-history-table th {
  background: #f3f5f7;
  font-weight: 700;
}

@media (max-width: 768px) {
  .umll-box {
    margin: 16px;
    padding: 16px;
  }

  .umll-title {
    font-size: 20px;
  }

  .umll-section {
    padding: 12px;
  }

  .umll-section-title {
    font-size: 16px;
  }
}
