body {
    background-color: white;
}

.custom-auto {
    width: auto !important;
}

.delete_row td {
    background-color: #f8f6e9 !important;
    color: #fb4946 !important;
  }


  @keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: red; }
  }

  .highlight-flash {
    animation: blink 1s ease-in-out infinite;
    border: 1px solid red;
    border-radius: 4px;
    padding: 2px;
    background-color: #fff8f8;
  }


.bg-primary{
    background-color: #005999 !important;
    border: solid 1px #005999 !important;
}

.bg-primary_dark{
    background-color: #004475 !important;
    border: solid 1px #004475 !important;
}

.bg-secondary{
    background-color: #00aacc !important;
    border: solid 1px #00aacc !important;
}

.bg-secondary_dark{
    background-color: #0285a0 !important;
    border: solid 1px #0285a0 !important;
}

.fc-white{
    color: white !important;
}


.required-badge {
    background-color: #dc3545;
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 7px;
    vertical-align: middle;
    font-size: 10px;
}

.payment-badge {
    background-color: #ffffff;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 7px;
    vertical-align: middle;
    font-weight: bold;
    font-size: 10px;
}

/* 編集不可 */
.readonly-badge {
    background-color: #ffffff;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 7px;
    vertical-align: middle;
    font-size: 10px;
}



.error_message_area li{
    margin-left: 15px;
}
/* エラーメッセージ関連 start */

/* function showFixedErrorsにて画面中央に表示 */

/* ================================
   画面中央にエラーメッセージ
   ================================ */
   .fixed-error-area {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: auto;
    min-width: 500px;
    max-width: calc(100% - 40px);
    max-height: 60vh;
    overflow-y: auto;

    z-index: 1050;

    background: #fff;
    border: 1px solid #f1b0b7;
    border-left: 6px solid #dc3545;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.fixed-error-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-weight: 600;
    background: #fff5f6;
    border-bottom: 1px solid #f1b0b7;
    cursor: move;
    user-select: none;
}

.fixed-error-area .error_message_area {
    list-style: none;
    margin: 0;
    padding: 8px 12px;
}



.fixed-error-area .error_message_area li {
    margin-bottom: 6px;
}

.fixed-error-area .error-jump-button {
    width: 100%;
    padding: 4px 0;
    text-align: left;
    color: #dc3545;
    background: none;
    border: none;
    font-size: 0.95rem;
}

.fixed-error-area .error-jump-button:hover {
    text-decoration: underline;
}


/* エラージャンプ用：ボタンをメッセージ風に */


.error-jump-button {
    text-decoration: none;
    box-shadow: none;
    font-size: 24px;
}

.error-jump-button:hover {
    text-decoration: underline;
    color: #b02a37; /* Bootstrap danger 濃いめ */
}

.error-jump-button:focus {
    outline: none;
    box-shadow: none;
}

/* エラーメッセージ関連 end */

/* パンくずリスト */
.Breadcrumbs {
    font-size: 16px;
    font-weight: 450;
    color: #10086a;
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.Breadcrumbs a {
    position: relative;
    text-decoration: none;
    color: #10086a;
    padding-bottom: 2px;
}

/* 疑似要素で下線を定義 */
.Breadcrumbs a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #3020dc;
    transition: width 0.3s ease;
}

/* hover 時にスライド表示 */
.Breadcrumbs a:hover::after {
    width: 100%;
}

.Breadcrumbs .active {
    font-size: 16px;
    font-weight: 600;
    color: #080437;
}




.checkbox-size-l {
    transform: scale(2.5);
}

.checkbox-size-m {
    transform: scale(1.8);
}

.checkbox-size-s {
    transform: scale(1.2);
}


/*
    右寄せのテキストボックスにエラービックリマークを付与すると入力値とエラーが被るために対策
 */
input.is-invalid.text-end {
    padding-right: 2rem !important;
}


/* 公開中バナー */
.public-status-banner {
    position: fixed;

    top: 15%;
    left: 15%;
    transform: translate(-50%, -50%);

    color: red;
    font-size: 50px;
    font-weight: bold;

    z-index: 10000;

    animation: fast-blink 2s infinite;
}

/*
    animation: fast-blink 2s infinite;
    ここで秒数指定
*/
@keyframes fast-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/* Edge / Chrome の標準パスワード表示ボタンを非表示 */
.password-toggle-input::-ms-reveal,
.password-toggle-input::-ms-clear {
    display: none;
}

.password-toggle-btn {
    border-color: #dee2e6; /* form-control と同じ枠線色 */
    background: #fff;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus,
.password-toggle-btn:active {
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

.your {
    font-size: 0.85rem;
    color: #666
}

/* レイアウト確認用 */
/* * {
    outline: 1px solid #aaa !important;
} */
