/* ==========================================================================
   ログイン画面専用スタイル
   ========================================================================== */
body.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    background-attachment: fixed;
    font-family: "Hiragino Sans", "Meiryo", sans-serif;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
    color: #fff;
}

.login-brand .company {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.login-brand .system {
    font-size: 0.85rem;
    color: #a8dadc;
    letter-spacing: 1px;
}

.login-brand .system .ver {
    background: #e63946;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 6px;
    color: #fff;
}

.login-card {
    background: #fff;
    border-radius: 10px;
    padding: 36px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.login-card h2 {
    font-size: 1.15rem;
    color: #1d3557;
    margin-bottom: 6px;
}

.login-card .subtitle {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.login-form .form-group {
    margin-bottom: 16px;
}

.login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #1d3557;
    box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.1);
}

.login-form .input-with-icon {
    position: relative;
}

.login-form .input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.login-form .input-with-icon input {
    padding-left: 40px;
}

.login-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #495057;
    margin: 14px 0 22px;
}

.login-form .checkbox-row input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-form .btn-login {
    width: 100%;
    padding: 13px;
    background: #1d3557;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 1px;
}

.login-form .btn-login:hover {
    background: #2a4a73;
}

.login-form .btn-login:active {
    transform: translateY(1px);
}

.login-form .btn-login i {
    margin-right: 8px;
}

.login-error {
    background: #fee;
    color: #c1374d;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    border-left: 4px solid #dc3545;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.login-error i {
    flex-shrink: 0;
    margin-top: 2px;
}

.login-info {
    background: #e8f4fd;
    color: #0c5e8a;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.login-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.login-footer a {
    color: #a8dadc;
    text-decoration: none;
}

/* 入力ヒント */
.login-hint {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e9ecef;
    font-size: 0.78rem;
    color: #888;
    line-height: 1.6;
}

.login-hint strong {
    color: #495057;
}
