/* PC用パスワード再設定用メール送信画面スタイル */

/* 全体の中央寄せと背景設定 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Helvetica Neue', sans-serif;
    overflow-y: auto;
    display: flex;
    flex-direction: column; /* 縦に積む */
}

main {
    flex: 1; /* メイン部分が縦に広がる */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 入力フォーム全体 */
.password_forgot {
    width: 100%;
    padding: 20px;
}

/* ボックス部分 */
.password_forgot_box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 100%;
    min-height: 450px; 
}

/* タイトルと説明 */
.password_forgot_box h2 {
    font-size: 1.5rem; /* ＝ text-2xl */
    font-weight: 800;  /* ＝ font-extrabold */
    color: #4CAF50;
    text-align: left;
    display: block;
    width: 100%;
    margin: 0 ;
    transition: background-color 0.3s ease;
    margin-bottom: 40px;
}

.password_forgot_box p {
    margin-bottom: 20px;
    color: #555;
}

.password_forgot_box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.password_forgot_box input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* メールアドレス入力欄がフォーカスされたときのスタイル */
.password_forgot_box input[type="email"]:focus {
    border-color: #4CAF50 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.password_forgot_box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient */
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;     
    /* ボタンを中央揃えにするための追加スタイル */
    display: block; /* ボタンをブロック要素として扱い、margin: auto; を機能させる */
    width: 100%; /* コンテンツの幅に合わせる（ボタンのテキストにフィット） */
    min-width: 200px; /* 必要に応じて最小幅を設定。ボタンの大きさを調整できます */
    margin: 20px auto 20px auto; /* 上20px、左右autoで中央、下20px */
}

.password_forgot_box button:hover {
    background-color: #45A049; /* より濃いグリーンに変化 */
    transform: scale(1.03);    /* わずかに拡大 */
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4); /* 輝きを追加 */
}

.error_message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}
