/* Font Fix - Rajdhaniフォントの問題を修正 */

/* Rajdhaniフォントを削除し、システムフォントに置き換え */
body,
.nyx-input,
.nyx-select,
.nyx-textarea,
.form-control,
.form-select,
input,
select,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}

/* Orbitronフォントも念のため置き換え */
h1, h2, h3, h4, h5, h6,
.nyx-page-title,
.nyx-stat-value {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
    font-weight: 700;
}

/* Firefox特有のプロパティを修正 */
* {
    -moz-osx-font-smoothing: auto !important;
}

/* Webkit特有のプロパティを修正 */
* {
    -webkit-font-smoothing: antialiased !important;
}

/* モーダル関連のフォント修正 */
.modal,
.modal * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}

/* フォーム要素の確実な修正 */
.modal input,
.modal select,
.modal textarea,
.modal button {
    font-family: inherit !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* フォーカス時のアウトライン */
.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    outline: 2px solid #007bff !important;
    outline-offset: 0;
}