/* login_styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* 基本設定 */
body {
    font-family: 'Roboto', sans-serif;  
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

/* 中央寄せのヘッダー */
h1.center-align {
    text-align: center;
    margin: 20px 0;
}

.centralize{
    display: flex !important;            /* Flexboxを使用 */
    justify-content: center !important;  /* 水平方向の中央揃え */
}

/* コンテナ設定 */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* タイトル */
h2 {
    text-align: center;
    color: #333;
}

/* フォーム設定 */
form {
    display: flex;
    flex-direction: column;
}

/* 入力フィールド */
input[type="text"],
input[type="password"],
input[type="email"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* ボタンスタイル */
button {
    padding: 10px;
    background-color: #6070a3; /* 緑色 */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ボタンホバー効果 */
button:hover {
    background-color: #364c97; /* 濃い緑色 */
}

/* リンクスタイル */
p {
    text-align: center;
}

a {
    color: #007bff; /* ブルー */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* メッセージのスタイル */ 
.container .message {  
    padding: 10px; 
    border-radius: 5px; 
    margin-bottom: 20px; 
} 
 
.message.success { 
    background-color: #d4edda !important; 
    color: #155724 !important; 
    border: 1px solid #c3e6cb !important; 
} 
 
.message.error { 
    background-color: #f8d7da !important; 
    color: #721c24 !important; 
    border: 1px solid #f5c6cb !important; 
} 