/**
 * LINEログイン用スタイルシート
 * 
 * LINEブランドガイドラインに準拠したボタンデザイン
 * - プライマリカラー: #00B900 (LINE Green)
 * - ホバー効果とアクセシビリティに対応
 * - レスポンシブデザイン対応
 */

/* LINEログインボタンスタイル */
.line-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    background-color: #00B900;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.line-login-btn:hover {
    background-color: #00A000;
    color: white;
    text-decoration: none;
}

.line-login-btn:focus {
    outline: 2px solid #00B900;
    outline-offset: 2px;
}

.line-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.line-icon::before {
    content: "LINE";
    color: #00B900;
    font-weight: bold;
    font-size: 8px;
    letter-spacing: -0.5px;
}

/* OAuth確認画面用スタイル */
.line-oauth-button {
    background-color: #00B900;
    border: none;
    color: white;
}

.line-oauth-button:hover {
    background-color: #00A000;
}

.line-oauth-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.line-icon-large {
    width: 32px;
    height: 32px;
    background-color: #00B900;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-icon-large::before {
    content: "LINE";
    color: white;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: -0.5px;
}

/* ソーシャル認証セクションの統一スタイル */
.social-auth-section {
    margin-bottom: 24px;
}

.social-auth-section .google-login-btn,
.social-auth-section .line-login-btn {
    margin-bottom: 8px;
}

.social-auth-section .google-login-btn:last-of-type,
.social-auth-section .line-login-btn:last-of-type {
    margin-bottom: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .line-login-btn {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .line-icon {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .line-icon::before {
        font-size: 7px;
    }
}

/* ローディングスピナー */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
