@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a,
.btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* 通常時のラベル色（未入力・非フォーカス） */
.rz-form-field:not(.rz-state-focused) .rz-form-field-label:not(.rz-label-active) {
    color: #999 !important;
}

/* フォーカス時（rz-state-focused）または入力済み（rz-label-active）は Radzen のテーマ色を使う */
.rz-form-field.rz-state-focused .rz-form-field-label,
.rz-form-field .rz-form-field-label.rz-label-active {
    color: var(--rz-primary) !important;
}

/* フォームフィールドの幅調整用ユーティリティ */
.w-100-form-field {
    width: 100%;
}

.w-100-form-field .rz-form-field-content {
    width: 100%;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.time-total-footer {
    font-size: 0.9rem;
}

body {
    background: none !important;
}

:root {
    --rz-primary: #1976d2;
    --rz-primary-dark: #1565c0;
    --rz-primary-light: #42a5f5;
    --rz-on-primary: #ffffff;
}

/* 常時スピンボタンを表示 */
.rz-form-field .rz-numeric-button {
    display: block !important;
}