/* =========================================================================
   ログイン画面 専用モダンカスタムスタイルシート (AdminLTE Flat Base)
========================================================================= */

body.login-page {
    background: #f1f5f9 !important;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", Meiryo, sans-serif !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.login-box {
    width: 420px;
    margin: 0 auto;
}

.login-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.login-header {
    padding: 30px 24px 15px;
    text-align: center;
    background: #ffffff;
}

    .login-header .logo-img {
        max-width: 220px;
        height: auto;
        margin-bottom: 8px;
    }

    /* --- SYSTEM LOGIN バッジ（拡大調整） --- */
    .login-header .login-sub-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px; /* 文字を拡大 */
        font-weight: 700;
        color: #0284c7;
        background: #e0f2fe;
        padding: 6px 16px; /* バッジの幅と高さをゆったり確保 */
        border-radius: 20px;
        letter-spacing: 0.8px;
        margin-top: 10px;
    }

        /* 南京錠アイコンを大きめに設定 */
        .login-header .login-sub-badge i {
            font-size: 16px; /* アイコンサイズを大きめに */
            margin-right: 6px; /* 文字との間隔 */
            vertical-align: middle;
        }

.login-body {
    padding: 20px 30px 32px;
}

/* 入力グループ */
.form-group-custom {
    margin-bottom: 20px;
    position: relative;
}

    .form-group-custom label {
        display: block;
        font-size: 12.5px;
        font-weight: 600;
        color: #475569;
        margin-bottom: 6px;
    }

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-container i.input-icon {
        position: absolute;
        left: 14px;
        color: #94a3b8;
        font-size: 15px;
    }

    .input-container input.form-control-custom {
        width: 100%;
        height: 44px;
        padding: 10px 14px 10px 40px;
        font-size: 14px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        color: #1e293b;
        background-color: #f8fafc;
        transition: all 0.2s ease-in-out;
        box-sizing: border-box;
    }

        .input-container input.form-control-custom:focus {
            outline: none;
            border-color: #0284c7;
            background-color: #ffffff;
            box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
        }

/* パスワード切り替えリンク */
.pwd-toggle-wrap {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
}

    .pwd-toggle-wrap a {
        font-size: 12px;
        color: #0284c7;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.15s ease;
    }

        .pwd-toggle-wrap a:hover {
            color: #0369a1;
            text-decoration: underline;
        }

/* メインログインボタン */
.btn-login-custom {
    width: 100%;
    height: 46px;
    background: #0284c7 !important;
    border: 1px solid #0284c7 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
}

    .btn-login-custom:hover {
        background: #0369a1 !important;
        border-color: #0369a1 !important;
        box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
    }

/* 特殊・管理アクションボタン */
.special-action-wrap {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    text-align: center;
}

.btn-admin-sub {
    width: 100%;
    padding: 10px;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

    .btn-admin-sub:hover {
        background: #f1f5f9 !important;
        color: #0f172a !important;
    }

/* エラーメッセージラベル */
.login-msg {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
}

/* メンテナンス表示ボックス */
.maintenance-modern {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 16px;
    margin-top: 15px;
    text-align: center;
}

    .maintenance-modern .m-title {
        font-size: 14px;
        font-weight: bold;
        color: #be123c;
        margin-bottom: 6px;
    }

    .maintenance-modern .m-date {
        display: inline-block;
        font-size: 12px;
        font-weight: bold;
        background: #e11d48;
        color: #ffffff;
        padding: 4px 10px;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .maintenance-modern .m-text {
        font-size: 11.5px;
        color: #4c0519;
        line-height: 1.5;
        margin: 0;
    }
