/**
 * ユーザーポイント表示スタイル
 */

/* ポイント表示バッジ */
.user-points-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

.user-points-badge i {
    font-size: 16px;
}

.user-points-display {
    font-size: 18px;
}

/* ヘッダー用ポイントバッジ */
.user-points-badge.header-points {
    padding: 6px 12px;
    font-size: 13px;
    margin: 0 15px;
    flex-shrink: 0;
}

.user-points-badge.header-points .user-points-display {
    font-size: 16px;
}

.user-points-badge.header-points i {
    font-size: 14px;
}

/* ポイント獲得通知 */
.points-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.points-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.points-notification-content {
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
}

.points-notification-content i {
    font-size: 24px;
    animation: starPulse 0.5s ease infinite alternate;
}

.points-notification-content strong {
    font-size: 20px;
}

.points-notification-content span {
    font-size: 14px;
    opacity: 0.9;
}

@keyframes starPulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/* いいねボタン */
.review-like-btn {
    background: none;
    border: 2px solid #ddd;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.review-like-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    transform: scale(1.05);
}

.review-like-btn.liked {
    background: #FF6B6B;
    border-color: #FF6B6B;
    color: #fff;
}

.review-like-btn i {
    font-size: 16px;
}

.review-like-count {
    font-weight: bold;
}

/* ポイント情報エリア */
.points-info-area {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CC 100%);
    border: 2px solid #FFB800;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}

.points-info-title {
    font-size: 16px;
    font-weight: bold;
    color: #FFA000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-info-title i {
    font-size: 20px;
}

.points-info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .points-notification {
        right: 10px;
        top: 70px;
    }

    .points-notification-content {
        padding: 12px 16px;
        font-size: 13px;
    }

    .user-points-badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* ヘッダーポイント - モバイル */
    .user-points-badge.header-points {
        padding: 4px 8px;
        font-size: 11px;
        margin: 0 8px;
        gap: 4px;
    }

    .user-points-badge.header-points .user-points-display {
        font-size: 13px;
    }

    .user-points-badge.header-points i {
        font-size: 12px;
    }
}
