/* ========================================
   Auth Pages Styles
   - Common styles for login and register pages
   ======================================== */

/* 共通フォーム */
.auth-form {
    margin-top: 20px;
}

/* フィールドコンテナ */
.auth-form-field {
    margin-bottom: 15px;
}

/* ラベル */
.auth-form-label {
    display: block;
    margin-bottom: 5px;
}

/* ラベルとボタンの横並びコンテナ */
.auth-form-label-with-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* パスワード条件ボタン */
.password-conditions-button {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 0.35rem 0.9rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.password-conditions-button:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.password-conditions-button:active {
    transform: scale(0.97);
}

/* 入力フィールド（email, password, userName共通） */
.auth-form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* エラーメッセージ */
.auth-form-error {
    color: red;
    margin-bottom: 15px;
    min-height: 20px;
}

/* 送信ボタン（有効時） */
.auth-form-button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

/* 送信ボタン（無効時） */
.auth-form-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9ca3af;
    box-shadow: none;
}

