/* ======================
   認証ページ (auth.css)
   ====================== */

.auth__container {
    max-width: 400px;
    margin: 60px auto 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth__title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 24px;
}

.auth__error {
    background-color: #fef2f2;
    color: #D32F2F;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth__form {
    display: flex;
    flex-direction: column;
}

.auth__label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.auth__input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.auth__input:focus {
    outline: none;
    border-color: #4171D6;
}

.auth__submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #4171D6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth__submit-btn:hover {
    background-color: #3460b8;
}

/* 区切り線「または」 */

.auth__divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth__divider::before,
.auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.auth__divider-text {
    padding: 0 12px;
    font-size: 13px;
    color: #999;
}

/* Googleボタン */

.auth__google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.auth__google-btn:hover {
    background-color: #f7f8f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth__google-icon {
    flex-shrink: 0;
}

/* 登録/ログインリンク */

.auth__link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.auth__link a {
    color: #4171D6;
    text-decoration: none;
    font-weight: bold;
}

.auth__link a:hover {
    text-decoration: underline;
}

/* メール認証待ちページ */

.auth__verify-info {
    text-align: center;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.auth__verify-note {
    color: #999;
    font-size: 13px;
    margin-top: 12px;
}

.auth__submit-btn--secondary {
    background-color: #fff;
    color: #4171D6;
    border: 1px solid #4171D6;
}

.auth__submit-btn--secondary:hover {
    background-color: #f0f4ff;
}

/* フラッシュメッセージ */

.auth__message {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth__message--error {
    background-color: #fef2f2;
    color: #D32F2F;
}

.auth__message--info {
    background-color: #e8f4fd;
    color: #1565C0;
}

.auth__message--warning {
    background-color: #fff8e1;
    color: #E65100;
}

.auth__message--success {
    background-color: #e8f5e9;
    color: #2E7D32;
}
