.invoice-list-wrapper {
  /* max-width: var(--wp--style--global--wide-size);  1340px */
  max-width: 1110px;
  margin-inline: auto;
  /*padding-inline: 1rem;*/
}


.filter-form {
  display: grid;
  grid-template-columns: 140px 140px 1fr 120px;
  /* gap: 1rem; */
  gap: 0.75rem;
  align-items: end;
}

.filter-form label {
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.filter-form input {
  padding: 0.75rem;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.filter-item {
  display: flex;
  flex-direction: column;
}

.filter-submit {
  justify-content: flex-end;
}

.flatpickr-day {
  width: 34px;
  height: 34px;
  line-height: 34px;
}

@media (max-width: 900px) {
  .filter-form {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
pagenation
--------------------------------------------------------------*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

/* 最初のページ・前のページ を左寄せ */
.pagination-left {
  margin-right: auto;
}

/* 現在のページ/総ページ数を 中央寄せ */
.pagination-center {
  position: absolute;
}

/* 次のページ・最後のページ を右寄せ */
.pagination-right {
  margin-left: auto;
}

/* 最初のページ・前のページ・次のページ・最後のページ の余白調整 */
.first-page, .previous-page, .next-page, .last-page {
  padding: 24px 12px;
}

/* 現在のページ/総ページ数を 太字 */
.pagination .page-info {
  font-weight: bold;
}


.invoice-row {
  display: grid;
  grid-template-columns: 140px 140px 1fr 120px 120px;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.invoice-head {
  font-weight: 600;
}

.label {
  display: none;
  font-size: 0.75rem;
  color: #666;
}

/* タブレット・スマホ */
@media (max-width: 900px) {
  .invoice-row {
    grid-template-columns: 1fr;
  }

  .invoice-head {
    display: none;
  }

  .cell {
    display: flex;
    justify-content: space-between;
  }

  .label {
    display: inline;
  }
}


#breadcrumb, .entry-header, .entry-footer, .next-prev {
  display: none;
}

.notice-list {
  border-top: 1px solid #ddddda;
}

.notice-row {
  display: flex;
  padding: 30px 0 40px 0;
  border-bottom: 1px solid #ddddda;
  flex-wrap: wrap;
}

.notice-detail-a {
  display: flex;
  margin: 10px 24px 0 0;
}

.notice-detail-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 12px 0 0 0;
}

.notice-detail-a h6 {
  color: #707070;
}

.notice-detail-b h4 {
  margin-top: 0;
}

.txt-limit3 {
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 任意の行数を指定 */
  line-clamp: 3;
}

.two-factor-notice {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.two-factor-notice p {
    margin: 0;
}

.two-factor-success {
    background-color: #e7f9ed;
    border-left: 4px solid #28a745;
    color: #155724;
}

.two-factor-error {
    background-color: #fff3f3;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.two-factor-intro {
    background-color: #f5f7fa;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    padding: 16px 20px;
    /* margin-bottom: 30px; */
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 50px;
}

.two-factor-block {
    margin-bottom: 40px;
}

.description {
    color: #707070;
    font-size: 14px;
}

.two-factor-label {
    display: block;
    padding: 20px 0;
}

.two-factor-option {
    margin-bottom: 50px;
}

.two-factor-option label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.two-factor-status {
    /*margin: 30px 0 30px 0;*/
    /*font-size: 90%;*/
    color: #555;
}

.two-factor-totp {
    margin: 40px 0 20px 0;
    /*border: 1px solid #ccc;*/ 
    border-left: 4px solid #0073aa; /* WordPressブルーアクセント */
    border-radius: 6px;
    background-color: #f9fbfd;
    padding: 20px;
    /*display: flex;*/
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.two-factor-warning {
    flex: 1 1 300px;
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.two-factor-warning:first-of-type {
    font-weight: 600;
    color: #0073aa;
    margin-bottom: 10px;
}

.two-factor-wrap img,
.two-factor-totp img {
    width: 200px;
    height: 200px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.highlight-key {
    background-color: #fce4e4;
    color: #b71c1c;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.status-enabled {
    color: #2e7d32; /* グリーン系（安全） */
    font-weight: bold;
}

.status-disabled {
    color: #c62828; /* レッド系（警告） */
    font-weight: bold;
}

.two-factor-message-wrap {
    margin-bottom: 40px;
}

.two-factor-red {
    font-size: 14px;
    color: red;
}

.trusted-devices-wrap {
    /*background: #fafafa;*/
    padding: 20px;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    margin-top: 60px;
}

/* タイトル余白 */
.trusted-devices-wrap h3 {
    margin-top: 0;
}

.trusted-devices-wrap table,
.trusted-devices-wrap th,
.trusted-devices-wrap td {
    border: none;
}

/* テーブル */
.trusted-devices-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

/* テーマの枠線をリセット */
.trusted-devices-wrap th,
.trusted-devices-wrap td {
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
}

/* ヘッダ強調 */
.trusted-devices-wrap th {
    font-weight: 600;
}

/* 行ホバー（見やすさUP） */
.trusted-devices-wrap tbody tr:hover {
    background: #f3f4f5;
}

/* 操作列 */
.trusted-devices-wrap td:last-child {
    white-space: nowrap;
}

.trusted-devices-delete {
    background: none;
    border: none;
    padding: 0;
    color: #a00;
    cursor: pointer;
    /*font-size: inherit;*/
    font-size: 14px;
    text-decoration: none;
}

.trusted-devices-delete:hover {
    color: #dc3232;
    text-decoration: underline;
}

.button-secondary {
    padding: 0 10px;
}

.trusted-devices-list {
    margin: 0 0 12px 0;
    padding: 0 8px;
    font-size: 1.1rem;
}

.trusted-devices-wrap .description {
    margin: 0 0 12px 0;
    padding: 0 8px;
    font-size: 0.9rem;
}

.page-id-13 .entry-body > ul:not(.custom_profile_links) {
    display: none;
}