
/* 全体のスタイル */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

/* メッセージエリアのスタイル */
.message_area {
    text-align: center;
}

/* ログインコンテナのスタイル */
.login-container {
    text-align: center;
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: center; /* 水平方向の中央揃え */
    justify-content: center; /* 垂直方向の中央揃え */
    height: 100vh; /* 画面全体の高さを使う */
}

/* ロゴ部分のスタイル */
.logo {
    margin-bottom: 20px;
    width: 300px; /* 幅を固定 */
}

.logo h1 {
    background-color: #3B82F6; /* ロゴエリアの背景色 */
    color: white;
    padding: 20px;
    border-radius: 10px;
}

/* ログインボックスのスタイル */
.login-box {
    background-color: #e0e0e0;
    padding: 40px;
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 250px; /* 幅を固定 */
}

.form-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}



.flash-message {
    margin-top: 20px;
    width: 100%; /* 幅をログインコンテナから独立させる */
    text-align: center; /* メッセージを中央揃えに */
}

.flash-message.error {
    background-color: #f8d7da; /* エラーメッセージの場合の背景色（Bootstrap風） */
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    max-width: 500px; /* 最大幅を設定 */
    word-wrap: break-word; /* 長いメッセージの折り返し */
}

.forgot-password-link {
    text-align: center;
    margin-top: 40px;
}

.forgot-password-link a {
    color: #007bff; /* 青色 */
    text-decoration: none; /* 下線を削除 */
    font-size: 14px;
}

.forgot-password-link a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}
