@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/common/fonts/noto-sans-jp-japanese-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/common/fonts/noto-sans-jp-japanese-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/common/fonts/noto-sans-jp-japanese-700-normal.woff2") format("woff2");
}

:root {
    --tblr-font-sans-serif: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-font-sans-serif: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.form-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 1.375rem;
    line-height: 1.4;
}

.form-label > span:not(.form-label-badge) {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.form-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 2rem;
    min-height: 1.5rem;
    padding: 0.125rem 0.3rem 0.3125rem;
    border-radius: 2px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.15;
    vertical-align: middle;
}

.form-label-badge-required {
    background: #d63939;
    margin-top: 0.01rem;
}

.form-label-badge-optional {
    background: #467fcf;
}

html.app-css-ready body,
html:not(.app-css-loading) body {
    visibility: visible;
}

[data-bs-theme="dark"] .hide-theme-dark,
[data-bs-theme="light"] .hide-theme-light {
    display: none !important;
}

.page,
.login-page {
    background: var(--tblr-bg-surface-secondary);
}

[data-bs-theme="dark"] .page,
[data-bs-theme="dark"] .login-page {
    background: #0f1724;
}

.auth-card {
    border-color: #dce1e7;
    box-shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
}

[data-bs-theme="dark"] .auth-card {
    border-color: #2b3a4d;
    box-shadow: none;
}

.brand-panel {
    border-radius: 10px;
    background: linear-gradient(180deg, var(--tblr-bg-surface), var(--tblr-bg-surface-secondary));
}

.brand-mark {
    flex: 0 0 auto;
    color: var(--tblr-secondary);
}

.input-group > .form-control.is-invalid,
.input-group > .form-control.is-valid {
    background-image: none;
    padding-right: var(--tblr-input-padding-x);
}

input[type="password"]::-ms-clear,
input[type="password"]::-ms-reveal {
    display: none;
}

input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

.navbar .dropdown-menu-end {
    right: 0;
    left: auto;
}

.navbar .dropdown-menu-card {
    width: min(24rem, calc(100vw - 2rem));
}

.navbar .dropdown-menu-card .card {
    width: 100%;
}
