/* ログイン画面専用CSS */
/* 共通スタイルはstyle.cssから継承 */

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 375px;
    min-height: 100vh;
    background-color: white;
    padding: 60px 30px 40px;
    position: relative;
}

/* アプリ名 */
.app-title {
    color: #00BCD4;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

/* フォームグループ */
.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00BCD4;
    background-color: white;
}

/* パスワードフィールドコンテナ */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}

/* パスワードを再発行する */
.forgot-password {
    text-align: center;
    margin-top: -15px;
    margin-bottom: 30px;
}

.forgot-password a {
    color: #17B8C4;
    font-size: 14px;
    text-decoration: none;
}

/* ログインボタン */
.login-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background-color: #17B8C4;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #139AA5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 184, 196, 0.3);
}

/* 新規登録 */
.register-link {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #17B8C4;
    background-color: white;
    border: 2px solid #17B8C4;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.register-link:hover {
    background-color: #f0f9ff;
}

/* フッター */
.footer-text {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 40px;
}

.footer-text a {
    color: #666;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid #666;
}

.footer-links {
    text-align: center;
    margin-top: 20px;
}

.footer-links a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
    margin: 0 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #666;
}

/* エラーメッセージ */
.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .login-container {
        padding: 40px 20px;
    }
    
    .app-title {
        font-size: 28px;
    }
}