/* テーマカラー：#e91e63 (濃いピンク), #f8bbd0 (薄いピンク) */

/* ★ ページ全体の背景：優しいピンクのグラデーションに統一 */
.login-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    /* 背景をテーマカラーのグラデーションに変更 */
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); 
}

/* ログインカード */
.login-container {
    background: white;
    border-radius: 20px;
    /* 影を大きく、柔らかく */
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2); 
    width: 100%;
    max-width: 450px;
    padding: 40px;
    transition: all 0.3s ease;
}

/* ロゴエリア */
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

/* ★ ログインタイトルをテーマカラーのピンクに変更 */
.login-logo h1 {
    font-size: 28px;
    color: #e91e63; /* テーマカラー */
    margin-bottom: 5px;
}

.login-logo p {
    color: #666;
    font-size: 14px;
}

/* エラーメッセージ */
.error-messages {
    background-color: #ffebee;
    border: 1px solid #e91e63;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.error-messages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-messages li {
    color: #c62828;
    font-size: 14px;
    margin-bottom: 5px;
}

.error-messages li:last-child {
    margin-bottom: 0;
}

.error-messages li::before {
    content: "⚠️ ";
    margin-right: 5px;
}

/* フォーム入力欄 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600; /* 太字に */
    font-size: 14px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px; /* 少し大きく */
    transition: border-color 0.3s, background-color 0.3s;
}

/* ★ 入力欄にフォーカスした時、テーマカラーのピンク枠に */
.form-group input:focus {
    outline: none;
    border-color: #e91e63;
    background-color: #fffafc; /* ほんのりピンク背景 */
}

/* ★ ログインボタンのデザイン修正 */
.btn-login {
    width: 100%;
    padding: 14px;
    /* テーマカラーのグラデーションを適用 */
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 100%); 
    color: white;
    border: none;
    border-radius: 30px; /* 丸みを強く */
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3); /* ピンク色の影 */
}

/* ★ ボタンホバー時：浮き上がり＆影の強調 */
.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.5);
    opacity: 0.9;
}

/* 新規登録リンク */
.register-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

/* ★ リンクの文字色もテーマカラーに */
.register-link a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 700;
}

.register-link a:hover {
    text-decoration: underline;
}
