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

/* コンテナ */
.container {
    background: #1a1a1a;
    color: #fff;
    width: 90%;
    max-width: 360px;
    border-radius: 16px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    padding: 24px 20px;
    text-align: center;
    box-sizing: border-box;
}

/* タイトル */
.container h1 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: bold;
}

/* エラーメッセージ */
.container p {
    color: #ff4d4d;
    font-size: 14px;
    margin-bottom: 15px;
}

/* フォーム */
.container form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

/* 入力フィールド */
.container input[type="email"],
.container input[type="password"] {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #2a2a2a;
    color: #fff;
    outline: none;
}

.container input:focus {
    border-color: #007aff;
}

/* ボタン */
.container button {
    padding: 12px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.container button:hover {
    background: #005bb5;
}

/* リンク */
.container .forgot-password,
.container .register-link {
    margin-top: 15px;
    font-size: 14px;
    color: #007aff;
    text-decoration: none;
    display: block; /* ブロック要素にすることで改行される */
}

.container .forgot-password:hover,
.container .register-link:hover {
    color: #005bb5;
}
